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 |
addBooleanProperty(java.lang.String pKey,
java.lang.Boolean pValue)
INTERNAL USE ONLY
|
void |
addDoubleProperty(java.lang.String pKey,
java.lang.Double pValue)
INTERNAL USE ONLY
|
void |
addInstanceProperty(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Object pValue,
DataTypeEnum pDataType,
boolean pIsEncrypted,
boolean pIsExpression)
INTERNAL USE ONLY
|
void |
addInstanceProperty(java.lang.String pInstanceCode,
java.lang.String pKey,
PropertyValue pProperty) |
void |
addIntegerProperty(java.lang.String pKey,
java.lang.Integer pValue)
INTERNAL USE ONLY
|
void |
addProperty(java.lang.String pKey,
java.lang.Object pValue,
DataTypeEnum pDataType,
boolean pIsEncrypted,
boolean pIsExpression)
INTERNAL USE ONLY
|
void |
addProperty(java.lang.String pKey,
PropertyValue pProperty)
INTERNAL USE ONLY
|
void |
addStringProperty(java.lang.String pKey,
java.lang.String pValue)
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 Target 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 Target 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 Target 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
|
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
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 java.lang.String toString()
BasePOJO
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, DataTypeEnum pDataType, boolean pIsEncrypted, boolean pIsExpression)
public void addProperty(java.lang.String pKey, PropertyValue pProperty)
public void addStringProperty(java.lang.String pKey, java.lang.String pValue)
public void addDoubleProperty(java.lang.String pKey, java.lang.Double pValue)
public void addIntegerProperty(java.lang.String pKey, java.lang.Integer pValue)
public void addBooleanProperty(java.lang.String pKey, java.lang.Boolean pValue)
public void addInstanceProperty(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Object pValue, DataTypeEnum pDataType, boolean pIsEncrypted, boolean pIsExpression)
public void addInstanceProperty(java.lang.String pInstanceCode, java.lang.String pKey, PropertyValue pProperty)
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)