Class EvaluateModel

All Implemented Interfaces:
Model

public class EvaluateModel extends AbstractActionModel
Model support for evaluate actions.

Evaluates an expression against the flow request context.

Author:
Scott Andrews
  • Constructor Details

    • EvaluateModel

      public EvaluateModel(String expression)
      Create an evaluate action model
      Parameters:
      expression - the expression to evaluate
  • Method Details

    • createCopy

      public Model createCopy()
      Description copied from interface: Model
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model
    • getExpression

      public String getExpression()
      Returns:
      the expression
    • setExpression

      public void setExpression(String expression)
      Parameters:
      expression - the expression to set
    • getResult

      public String getResult()
      Returns:
      the result
    • setResult

      public void setResult(String result)
      Parameters:
      result - the result to set
    • getResultType

      public String getResultType()
      Returns:
      the result type
    • setResultType

      public void setResultType(String resultType)
      Parameters:
      resultType - the result type to set