Package step.parameter
Class Parameter
-
- All Implemented Interfaces:
ActivableObject
public class Parameter extends AbstractTrackedObject implements ActivableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
activationExpression
protected String
description
protected String
key
protected Integer
priority
protected Boolean
protectedValue
protected ParameterScope
scope
protected String
scopeEntity
protected String
value
-
Fields inherited from class step.core.accessors.AbstractTrackedObject
lastModificationDate, lastModificationUser
-
Fields inherited from class step.core.accessors.AbstractOrganizableObject
attributes, NAME, VERSION
-
Fields inherited from class step.core.accessors.AbstractIdentifiableObject
_id, customFields
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
getActivationExpression()
String
getDescription()
String
getKey()
Integer
getPriority()
Boolean
getProtectedValue()
ParameterScope
getScope()
String
getScopeEntity()
String
getValue()
void
setActivationExpression(Expression activationExpression)
void
setDescription(String description)
void
setKey(String key)
void
setPriority(Integer priority)
void
setProtectedValue(Boolean protectedValue)
void
setScope(ParameterScope scope)
void
setScopeEntity(String scopeEntity)
void
setValue(String value)
-
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
-
-
-
-
Field Detail
-
key
protected String key
-
value
protected String value
-
description
protected String description
-
activationExpression
protected Expression activationExpression
-
priority
protected Integer priority
-
protectedValue
protected Boolean protectedValue
-
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)
-
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)
-
-