Class ElementalActionNode

    • Method Detail

      • getChannels

        public java.util.Optional<java.util.List<java.lang.String>> getChannels()
        Specified by:
        getChannels in interface IElementalBaseNode
      • getIf

        public java.util.Optional<java.lang.String> getIf()
        Specified by:
        getIf in interface IElementalBaseNode
      • getContent

        public java.lang.String getContent()
        Returns:
        The text content of the action shown to the user.
      • getHref

        public java.lang.String getHref()
        Returns:
        The target URL of the action.
      • getActionId

        public java.util.Optional<java.lang.String> getActionId()
        Returns:
        A unique id used to identify the action when it is executed.
      • getAlign

        public java.util.Optional<IAlignment> getAlign()
        Returns:
        The alignment of the action button. Defaults to "center".
      • getBackgroundColor

        public java.util.Optional<java.lang.String> getBackgroundColor()
        Returns:
        The background color of the action button.
      • getStyle

        public java.util.Optional<IActionButtonStyle> getStyle()
        Returns:
        Defaults to button.
      • getLocales

        public java.util.Optional<java.util.Map<java.lang.String,​Locale>> getLocales()
        Returns:
        Region specific content. See locales docs for more details.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object