Package step.parameter
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 Summary
Fields Modifier and Type Field Description protected Expression
activationExpression
protected String
description
protected String
encryptedValue
When running with an encryption manager, the value of protectedParameter
s is encrypted and the encrypted value is stored into this fieldstatic String
ENTITY_NAME
protected String
key
protected Integer
priority
protected Boolean
protectedValue
protected ParameterScope
scope
protected String
scopeEntity
protected String
value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
getActivationExpression()
String
getDescription()
String
getEncryptedValue()
String
getKey()
Integer
getPriority()
Boolean
getProtectedValue()
ParameterScope
getScope()
String
getScopeEntity()
String
getValue()
void
setActivationExpression(Expression activationExpression)
void
setDescription(String description)
void
setEncryptedValue(String encryptedValue)
void
setKey(String key)
void
setPriority(Integer priority)
void
setProtectedValue(Boolean protectedValue)
void
setScope(ParameterScope scope)
void
setScopeEntity(String scopeEntity)
void
setValue(String value)
String
toString()
-
Methods inherited from class step.core.accessors.AbstractTrackedObject
getLastModificationDate, getLastModificationUser, setLastModificationDate, setLastModificationUser
-
Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, getAttribute, getAttributes, hasAttribute, setAttributes
-
Methods inherited from class step.core.accessors.AbstractIdentifiableObject
addCustomField, computeCustomFieldIfAbsent, equals, getCustomField, getCustomField, getCustomFields, getId, hashCode, setCustomFields, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface step.core.objectenricher.EnricheableObject
addAttribute, getAttribute, getAttributes, setAttributes
-
-
-
-
Field Detail
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
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 protectedParameter
s is encrypted and the encrypted value is stored into this field
-
scope
protected ParameterScope scope
-
scopeEntity
protected String scopeEntity
-
-
Constructor Detail
-
Parameter
public Parameter()
-
Parameter
public Parameter(Expression activationExpression, String key, String value, String description)
-
-
Method Detail
-
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 interfaceActivableObject
-
getPriority
public Integer getPriority()
- Specified by:
getPriority
in interfaceActivableObject
-
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)
-
-