public static enum ResilienceEvent.EventType extends Enum<ResilienceEvent.EventType>
Enum Constant and Description |
---|
LINK_FAILURE
Link failure.
|
LINK_REPARATION
Link reparation.
|
NODE_FAILURE
Node failure.
|
NODE_REPARATION
Node reparation.
|
SRG_FAILURE
SRG failure.
|
SRG_REPARATION
SRG reparation.
|
Modifier and Type | Method and Description |
---|---|
static ResilienceEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResilienceEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResilienceEvent.EventType SRG_FAILURE
public static final ResilienceEvent.EventType SRG_REPARATION
public static final ResilienceEvent.EventType NODE_FAILURE
public static final ResilienceEvent.EventType NODE_REPARATION
public static final ResilienceEvent.EventType LINK_FAILURE
public static final ResilienceEvent.EventType LINK_REPARATION
public static ResilienceEvent.EventType[] values()
for (ResilienceEvent.EventType c : ResilienceEvent.EventType.values()) System.out.println(c);
public static ResilienceEvent.EventType 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 null