public enum SlotState extends Enum<SlotState>
| Enum Constant and Description |
|---|
Finished |
Initialized |
Started |
Stopped |
Stopping |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTransitionTo(SlotState to) |
String |
getCode() |
static SlotState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlotState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlotState Initialized
public static final SlotState Started
public static final SlotState Finished
public static final SlotState Stopping
public static final SlotState Stopped
public static SlotState[] values()
for (SlotState c : SlotState.values()) System.out.println(c);
public static SlotState 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 String getCode()
public boolean canTransitionTo(SlotState to)
Copyright © 2016. All rights reserved.