Class Variable

  • All Implemented Interfaces:
    java.io.Serializable

    public class Variable
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Variable

        public Variable()
      • Variable

        public Variable​(java.lang.String key,
                        java.lang.String value)
    • Method Detail

      • getKey

        public java.lang.String getKey()
      • setKey

        public void setKey​(java.lang.String key)
      • getValue

        public java.lang.String getValue()
      • setValue

        public void setValue​(java.lang.String value)
      • setVariableType

        public void setVariableType​(Variable.Type variableType)
      • getProtected

        public java.lang.Boolean getProtected()
      • setProtected

        public void setProtected​(java.lang.Boolean isProtected)
      • getMasked

        public java.lang.Boolean getMasked()
      • setMasked

        public void setMasked​(java.lang.Boolean masked)
      • getEnvironmentScope

        public java.lang.String getEnvironmentScope()
      • setEnvironmentScope

        public void setEnvironmentScope​(java.lang.String environmentScope)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • convertMapToList

        public static final java.util.List<Variable> convertMapToList​(java.util.Map<java.lang.String,​java.lang.String> variables)
        Create a List of Variable from the provided Map.
        Parameters:
        variables - the Map to convert to a List of Variable
        Returns:
        the List of Variable containing the keys and values from the Map, or null if the Map is null