Class EnvironmentKeyValue

java.lang.Object
flexagon.ff.common.core.externalprocess.EnvironmentKeyValue

public class EnvironmentKeyValue extends Object
Represents an environment variable which can be made available to an external operating system process (e.g. unix shell script or windows batch script).
  • Constructor Details

    • EnvironmentKeyValue

      public EnvironmentKeyValue(String pKey, String pValue, boolean pSecure)
      Creates an environment variable for an external process
      Parameters:
      pKey - the environment variable key
      pValue - the environment variable value
      pSecure - whether the environment variable is secure (e.g. a password)
  • Method Details

    • getKey

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

      public String getValue()
      Returns the environment variable value
      Returns:
      the value
    • isSecure

      public boolean isSecure()
      Returns whether the environment variable is secure
      Returns:
      true if the environment variable is secure; false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object