public enum ProcessType extends Enum<ProcessType>
Modifier and Type | Method and Description |
---|---|
static ProcessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessType None
public static final ProcessType Public
public static final ProcessType Private
public static ProcessType[] values()
for (ProcessType c : ProcessType.values()) System.out.println(c);
public static ProcessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.