
public enum ExampleEnumState extends Enum<ExampleEnumState>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ExampleEnumState.ExampleTransition | 
| Enum Constant and Description | 
|---|
| CONFIGURING | 
| ENDED | 
| PAUSED | 
| RESET | 
| RUNNING | 
| Modifier and Type | Method and Description | 
|---|---|
| static ExampleEnumState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ExampleEnumState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ExampleEnumState RUNNING
public static final ExampleEnumState PAUSED
public static final ExampleEnumState CONFIGURING
public static final ExampleEnumState RESET
public static final ExampleEnumState ENDED
public static ExampleEnumState[] values()
for (ExampleEnumState c : ExampleEnumState.values()) System.out.println(c);
public static ExampleEnumState 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 © 2009–2019 Waarp. All rights reserved.