public static enum JobControl.ThreadState extends Enum<JobControl.ThreadState>
| Enum Constant and Description | 
|---|
| READY | 
| RUNNING | 
| STOPPED | 
| STOPPING | 
| SUSPENDED | 
| Modifier and Type | Method and Description | 
|---|---|
| static JobControl.ThreadState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JobControl.ThreadState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JobControl.ThreadState RUNNING
public static final JobControl.ThreadState SUSPENDED
public static final JobControl.ThreadState STOPPED
public static final JobControl.ThreadState STOPPING
public static final JobControl.ThreadState READY
public static JobControl.ThreadState[] values()
for (JobControl.ThreadState c : JobControl.ThreadState.values()) System.out.println(c);
public static JobControl.ThreadState 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 © 2022 Apache Software Foundation. All rights reserved.