Class PropertyObjectValue

java.lang.Object
flexagon.fd.core.utils.PropertyObjectValue

public class PropertyObjectValue extends Object
Represents a FlexDeploy property as a String key and Object Value, and identifies whether it is secured (e.g. containing a password).
  • Constructor Details

    • PropertyObjectValue

      public PropertyObjectValue(String pKey, Object pValue, boolean pSecure)
      Creates a PropertyObjectValue object
      Parameters:
      pKey - the key
      pValue - the value
      pSecure - true if the property is secure; false otherwise
  • Method Details

    • getKey

      public String getKey()
      Returns the String key
      Returns:
      the key
    • getValue

      public Object 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

      public String toString()
      Returns a string representation of this PropertyObjectValue, masking the value if the property is secure.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.