Enum FailureTestingListener.FailureMode
- java.lang.Object
-
- java.lang.Enum<FailureTestingListener.FailureMode>
-
- org.deeplearning4j.optimize.listeners.FailureTestingListener.FailureMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FailureTestingListener.FailureMode>
- Enclosing class:
- FailureTestingListener
public static enum FailureTestingListener.FailureMode extends Enum<FailureTestingListener.FailureMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ILLEGAL_STATE
INFINITE_SLEEP
OOM
SYSTEM_EXIT_1
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FailureTestingListener.FailureMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FailureTestingListener.FailureMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OOM
public static final FailureTestingListener.FailureMode OOM
-
SYSTEM_EXIT_1
public static final FailureTestingListener.FailureMode SYSTEM_EXIT_1
-
ILLEGAL_STATE
public static final FailureTestingListener.FailureMode ILLEGAL_STATE
-
INFINITE_SLEEP
public static final FailureTestingListener.FailureMode INFINITE_SLEEP
-
-
Method Detail
-
values
public static FailureTestingListener.FailureMode[] 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 (FailureTestingListener.FailureMode c : FailureTestingListener.FailureMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailureTestingListener.FailureMode 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
-
-