public static enum GeneralCommandLine.ParentEnvironmentType extends java.lang.Enum<GeneralCommandLine.ParentEnvironmentType>
NONE
means a child process will receive an empty environment.
SYSTEM
will provide it with the same environment as an IDE.
CONSOLE
provides the child with a similar environment as if it was launched from, well, a console.
On OS X, a console environment is simulated (see EnvironmentUtil.getEnvironmentMap()
for reasons it's needed
and details on how it works). On Windows and Unix hosts, this option is no different from SYSTEM
since there is no drastic distinction in environment between GUI and console apps.
Modifier and Type | Method and Description |
---|---|
static GeneralCommandLine.ParentEnvironmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneralCommandLine.ParentEnvironmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralCommandLine.ParentEnvironmentType NONE
public static final GeneralCommandLine.ParentEnvironmentType SYSTEM
public static final GeneralCommandLine.ParentEnvironmentType CONSOLE
public static GeneralCommandLine.ParentEnvironmentType[] values()
for (GeneralCommandLine.ParentEnvironmentType c : GeneralCommandLine.ParentEnvironmentType.values()) System.out.println(c);
public static GeneralCommandLine.ParentEnvironmentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null