public class Properties
extends BasePOJO
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMPTY_INSTANCE |
Constructor and Description |
---|
Properties()
INTERNAL USE ONLY
|
Modifier and Type | Method and Description |
---|---|
void |
addInstanceProperty(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Object pValue,
PropertyValue.PropertyTypeEnum pDataType,
boolean pIsEncrypted,
boolean pIsExprssion)
INTERNAL USE ONLY
|
void |
addProperty(java.lang.String pKey,
java.lang.Object pValue,
PropertyValue.PropertyTypeEnum pDataType,
boolean pIsEncrypted,
boolean pIsExpression)
INTERNAL USE ONLY
|
void |
clearUpdates()
INTERNAL USE ONLY
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,PropertyValue>> |
getInstancePropertyMap()
Returns a Map of environment instance scoped properties (for all instances).
|
java.util.Map<java.lang.String,PropertyValue> |
getPropertyMap()
Returns a Map of project-scoped properties for the current execution
|
java.lang.Object |
getPropertyValue(java.lang.String pKey)
Returns a property value for the project-scoped property identified by the given property key.
|
java.lang.Object |
getPropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey)
Returns a property value for the environment instance scoped property identified by the given instance code and property key.
|
PropertyValue |
getPropertyValueObject(java.lang.String pInstanceCode,
java.lang.String pKey)
Returns a PropertyValue object for the environment instance scoped property identified by the given instance code and property key.
|
java.util.Map<java.lang.String,PropertyValue> |
getUpdatedPropertyMap()
INTERNAL USE ONLY
|
void |
setInstanceProperties(java.util.Map<java.lang.String,java.util.Map<java.lang.String,PropertyValue>> pInstanceProperties)
INTERNAL USE ONLY
|
void |
setProperties(java.util.Map<java.lang.String,PropertyValue> pProperties)
INTERNAL USE ONLY
|
void |
updateProperty(java.lang.String pKey,
java.lang.Object pValue)
INTERNAL USE ONLY
|
void |
updateProperty(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Object pValue)
INTERNAL USE ONLY
|
boolean |
wasUpdated(java.lang.String pInstanceCode,
java.lang.String pKey)
INTERNAL USE ONLY
|
public static final java.lang.String EMPTY_INSTANCE
public void setInstanceProperties(java.util.Map<java.lang.String,java.util.Map<java.lang.String,PropertyValue>> pInstanceProperties)
public void setProperties(java.util.Map<java.lang.String,PropertyValue> pProperties)
public java.lang.Object getPropertyValue(java.lang.String pKey)
pKey
- the key of the project-scoped propertypublic java.lang.Object getPropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
pInstanceCode
- the instance codepKey
- the property keypublic PropertyValue getPropertyValueObject(java.lang.String pInstanceCode, java.lang.String pKey)
pInstanceCode
- the instance codepKey
- the property keypublic void updateProperty(java.lang.String pKey, java.lang.Object pValue) throws FlexCheckedException
FlexCheckedException
public void updateProperty(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Object pValue) throws FlexCheckedException
FlexCheckedException
public void addProperty(java.lang.String pKey, java.lang.Object pValue, PropertyValue.PropertyTypeEnum pDataType, boolean pIsEncrypted, boolean pIsExpression)
public void addInstanceProperty(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Object pValue, PropertyValue.PropertyTypeEnum pDataType, boolean pIsEncrypted, boolean pIsExprssion)
public void clearUpdates()
public java.util.Map<java.lang.String,PropertyValue> getUpdatedPropertyMap()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,PropertyValue>> getInstancePropertyMap()
public java.util.Map<java.lang.String,PropertyValue> getPropertyMap()
public boolean wasUpdated(java.lang.String pInstanceCode, java.lang.String pKey)