Package flexagon.fd.core.utils
Class PropertyObjectValue
java.lang.Object
flexagon.fd.core.utils.PropertyObjectValue
Represents a FlexDeploy property as a String key and Object Value, and identifies whether it is
secured (e.g. containing a password).
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyObjectValue(String pKey, Object pValue, boolean pSecure) Creates a PropertyObjectValue object -
Method Summary
-
Constructor Details
-
PropertyObjectValue
Creates a PropertyObjectValue object- Parameters:
pKey- the keypValue- the valuepSecure- true if the property is secure; false otherwise
-
-
Method Details
-
getKey
Returns the String key- Returns:
- the key
-
getValue
Returns the value as an Object- Returns:
- the value
-
isSecure
public boolean isSecure()Returns whether this property is secure- Returns:
- true if the property is secure; false otherwise
-
toString
Returns a string representation of this PropertyObjectValue, masking the value if the property is secure.
-