public enum ThreadState extends Enum<ThreadState>
| Enum Constant and Description |
|---|
EXISTING_THREAD
Used for the Persistent Menu.
|
NEW_THREAD
Used for the Get Started Button.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadState NEW_THREAD
public static final ThreadState EXISTING_THREAD
public static ThreadState[] values()
for (ThreadState c : ThreadState.values()) System.out.println(c);
public static 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 © 2017 BotMill. All rights reserved.