Package sk.ipesoft.d2000.d2japi
Enum RedundancyStateType
- java.lang.Object
-
- java.lang.Enum<RedundancyStateType>
-
- sk.ipesoft.d2000.d2japi.RedundancyStateType
-
public enum RedundancyStateType extends java.lang.Enum<RedundancyStateType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RedundancyStateType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RedundancyStateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
hot
public static final RedundancyStateType hot
Hot kernel.
-
standBy
public static final RedundancyStateType standBy
Stand-by kernel.
-
crash
public static final RedundancyStateType crash
Kernel has crashed.
-
starting
public static final RedundancyStateType starting
Kernel is starting.
-
failed
public static final RedundancyStateType failed
Kernel is in fail state.
-
test
public static final RedundancyStateType test
Kernel is permanently as in standBy but HI won't attach and kernel won't become HOT.
-
-
Method Detail
-
values
public static RedundancyStateType[] 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 (RedundancyStateType c : RedundancyStateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedundancyStateType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-