Package adams.flow.standalone
Enum PythonEnvironment.PythonPathUpdateType
- java.lang.Object
-
- java.lang.Enum<PythonEnvironment.PythonPathUpdateType>
-
- adams.flow.standalone.PythonEnvironment.PythonPathUpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<PythonEnvironment.PythonPathUpdateType>
- Enclosing class:
- PythonEnvironment
public static enum PythonEnvironment.PythonPathUpdateType extends Enum<PythonEnvironment.PythonPathUpdateType>
How to update the environment varibale.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PythonEnvironment.PythonPathUpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PythonEnvironment.PythonPathUpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_UPDATE
public static final PythonEnvironment.PythonPathUpdateType NO_UPDATE
does not change the environment variable.
-
REPLACE
public static final PythonEnvironment.PythonPathUpdateType REPLACE
replaces the current path.
-
APPEND
public static final PythonEnvironment.PythonPathUpdateType APPEND
appends the path to the existing one.
-
PREPEND
public static final PythonEnvironment.PythonPathUpdateType PREPEND
prepends the path to the existing pne.
-
-
Method Detail
-
values
public static PythonEnvironment.PythonPathUpdateType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PythonEnvironment.PythonPathUpdateType c : PythonEnvironment.PythonPathUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PythonEnvironment.PythonPathUpdateType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-