Enum ModuleState
- java.lang.Object
-
- java.lang.Enum<ModuleState>
-
- de.codecentric.reedelk.platform.module.state.ModuleState
-
- All Implemented Interfaces:
Serializable,Comparable<ModuleState>
public enum ModuleState extends Enum<ModuleState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModuleStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ModuleState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALLED
public static final ModuleState INSTALLED
-
UNRESOLVED
public static final ModuleState UNRESOLVED
-
RESOLVED
public static final ModuleState RESOLVED
-
STOPPED
public static final ModuleState STOPPED
-
STARTED
public static final ModuleState STARTED
-
ERROR
public static final ModuleState ERROR
-
-
Method Detail
-
values
public static ModuleState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ModuleState c : ModuleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-