Class Parameter

java.lang.Object
step.core.accessors.AbstractIdentifiableObject
step.core.accessors.AbstractOrganizableObject
step.core.accessors.AbstractTrackedObject
step.parameter.Parameter
All Implemented Interfaces:
ActivableObject, EnricheableObject

public class Parameter extends step.core.accessors.AbstractTrackedObject implements ActivableObject, EnricheableObject
  • Field Details

    • ENTITY_NAME

      public static final String ENTITY_NAME
      See Also:
    • key

      protected String key
    • value

      protected String value
    • description

      protected String description
    • activationExpression

      protected Expression activationExpression
    • priority

      protected Integer priority
    • protectedValue

      protected Boolean protectedValue
    • encryptedValue

      protected String encryptedValue
      When running with an encryption manager, the value of protected Parameters is encrypted and the encrypted value is stored into this field
    • scope

      protected ParameterScope scope
    • scopeEntity

      protected String scopeEntity
  • Constructor Details

    • Parameter

      public Parameter()
    • Parameter

      public Parameter(Expression activationExpression, String key, String value, String description)
  • Method Details

    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getActivationExpression

      public Expression getActivationExpression()
      Specified by:
      getActivationExpression in interface ActivableObject
    • getPriority

      public Integer getPriority()
      Specified by:
      getPriority in interface ActivableObject
    • setActivationExpression

      public void setActivationExpression(Expression activationExpression)
    • setPriority

      public void setPriority(Integer priority)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getProtectedValue

      public Boolean getProtectedValue()
    • setProtectedValue

      public void setProtectedValue(Boolean protectedValue)
    • getEncryptedValue

      public String getEncryptedValue()
    • setEncryptedValue

      public void setEncryptedValue(String encryptedValue)
    • getScope

      public ParameterScope getScope()
      Returns:
      the ParameterScope of this parameter
    • setScope

      public void setScope(ParameterScope scope)
    • getScopeEntity

      public String getScopeEntity()
      Returns:
      the name of the entity this parameter is restricted to. For instance: if the scope of a Parameter is set to FUNCTION, the scopeEntity represent the name of the Function for which this parameter applies
    • setScopeEntity

      public void setScopeEntity(String scopeEntity)
    • toString

      public String toString()
      Overrides:
      toString in class Object