Enum TestSystemReadyMonitor.Behaviour
- java.lang.Object
-
- java.lang.Enum<TestSystemReadyMonitor.Behaviour>
-
- org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor.Behaviour
-
- All Implemented Interfaces:
Serializable
,Comparable<TestSystemReadyMonitor.Behaviour>
- Enclosing class:
- TestSystemReadyMonitor
public static enum TestSystemReadyMonitor.Behaviour extends Enum<TestSystemReadyMonitor.Behaviour>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMMEDIATE
The system state is always ACTIVE, there are never any failures, and anySystemReadyListener
registrations immediately get theirSystemReadyListener.onSystemBootReady()
invoked.NEVER
The system state is always ACTIVE, there are never any failures, and anySystemReadyListener
registrations *NEVER* get theirSystemReadyListener.onSystemBootReady()
invoked.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestSystemReadyMonitor.Behaviour
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestSystemReadyMonitor.Behaviour[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final TestSystemReadyMonitor.Behaviour NEVER
The system state is always ACTIVE, there are never any failures, and anySystemReadyListener
registrations *NEVER* get theirSystemReadyListener.onSystemBootReady()
invoked.
-
IMMEDIATE
public static final TestSystemReadyMonitor.Behaviour IMMEDIATE
The system state is always ACTIVE, there are never any failures, and anySystemReadyListener
registrations immediately get theirSystemReadyListener.onSystemBootReady()
invoked.
-
-
Method Detail
-
values
public static TestSystemReadyMonitor.Behaviour[] 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 (TestSystemReadyMonitor.Behaviour c : TestSystemReadyMonitor.Behaviour.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestSystemReadyMonitor.Behaviour 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
-
-