Class PopupExpressionEvaluation


  • public final class PopupExpressionEvaluation
    extends java.lang.Object
    Represents the result of an attempt to evaluate a popup expression.
    Since:
    100.8.0
    • Method Detail

      • getPopupExpression

        public PopupExpression getPopupExpression()
        Gets the Arcade expression the object evaluated.

        It is one of the Arcade expressions defined on PopupDefinition.getExpressions().

        Returns:
        a PopupExpression
        Since:
        100.8.0
      • getResult

        public java.lang.Object getResult()
        Gets the result of the evaluation of the popup expression.

        It is either a String or Number based on the PopupExpression.ReturnType.

        Returns:
        either a String or Number, or null if an error occurs
        Since:
        100.8.0
      • getError

        public ArcGISRuntimeException getError()
        Gets the error information about the evaluation of the popup expression.
        Returns:
        an ArcGISRuntimeException, or null if the expression was evaluated successfully
        Since:
        100.8.0