Class PopupExpression


  • public final class PopupExpression
    extends Object
    Defines an Arcade expression within a popup.
    Since:
    100.3.0
    • Constructor Detail

      • PopupExpression

        public PopupExpression()
        Creates a new instance of an empty PopupExpression.
        Since:
        100.5.0
    • Method Detail

      • getExpression

        public String getExpression()
        Gets the Arcade expression defined in this expression.
        Returns:
        an Arcade expression string
        Since:
        100.3.0
      • setExpression

        public void setExpression​(String expression)
        Sets the Arcade expression defined in this expression.
        Parameters:
        expression - the Arcade expression string
        Since:
        100.3.0
      • getName

        public String getName()
        Gets the name of this expression.
        Returns:
        the name of this expression
        Since:
        100.3.0
      • setName

        public void setName​(String name)
        Sets the name of this expression.
        Parameters:
        name - the name of this expression
        Since:
        100.3.0
      • getTitle

        public String getTitle()
        Gets the title of this expression.
        Returns:
        the title of this expression
        Since:
        100.3.0
      • setTitle

        public void setTitle​(String title)
        Sets the title of this expression.
        Parameters:
        title - the title of this expression
        Since:
        100.3.0
      • getReturnType

        public PopupExpression.ReturnType getReturnType()
        Gets the return type of this expression.
        Returns:
        the return type of this expression
        Since:
        100.3.0
      • setReturnType

        public void setReturnType​(PopupExpression.ReturnType returnType)
        Sets the return type of this expression.
        Parameters:
        returnType - the return type of this expression
        Throws:
        IllegalArgumentException - if returnType is null
        Since:
        100.3.0