public enum ProcessState extends Enum<ProcessState>
| Enum Constant and Description | 
|---|
| ABORTED | 
| COMPLETED | 
| NOT_STARTED | 
| RUNNING | 
| SUSPENDED | 
| TERMINATED | 
| Modifier and Type | Method and Description | 
|---|---|
| static ProcessState | getState(String state) | 
| static boolean | isOpen(ProcessState state) | 
| static ProcessState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ProcessState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ProcessState RUNNING
public static final ProcessState NOT_STARTED
public static final ProcessState SUSPENDED
public static final ProcessState COMPLETED
public static final ProcessState TERMINATED
public static final ProcessState ABORTED
public static ProcessState[] values()
for (ProcessState c : ProcessState.values()) System.out.println(c);
public static ProcessState 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 nullpublic static ProcessState getState(String state)
public static boolean isOpen(ProcessState state)
Copyright © 2019 Suncode. All rights reserved.