Class EnvironmentKeyValue
java.lang.Object
flexagon.ff.common.core.externalprocess.EnvironmentKeyValue
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 Summary
ConstructorsConstructorDescriptionEnvironmentKeyValue(String pKey, String pValue, boolean pSecure) Creates an environment variable for an external process -
Method Summary
-
Constructor Details
-
EnvironmentKeyValue
Creates an environment variable for an external process- Parameters:
pKey- the environment variable keypValue- the environment variable valuepSecure- whether the environment variable is secure (e.g. a password)
-
-
Method Details
-
getKey
Returns the environment variable key- Returns:
- the key
-
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
-