public enum ComponentState extends Enum<ComponentState>
| Enum Constant and Description |
|---|
DESTROYED |
INITIALIZED |
SETUP |
STARTED |
STOPPED |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
ComponentState |
validateStateChange(ComponentState newState) |
static ComponentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentState UNDEFINED
public static final ComponentState SETUP
public static final ComponentState INITIALIZED
public static final ComponentState STARTED
public static final ComponentState STOPPED
public static final ComponentState DESTROYED
public static ComponentState[] values()
for (ComponentState c : ComponentState.values()) System.out.println(c);
public static ComponentState 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 ComponentState validateStateChange(ComponentState newState)
Copyright © 2011–2016 Strolch. All rights reserved.