public enum CompensatorStatus extends Enum<CompensatorStatus>
Status annotation.| Enum Constant and Description |
|---|
Compensated
The Compensator has successfully compensated for the LRA
|
Compensating
The Compensator is currently compensating for the LRA
|
Completed
The Compensator has confirmed
|
Completing
The Compensator is tidying up after being told to complete
|
FailedToCompensate
The Compensator was not able to compensate for the LRA (and must remember
it could not compensate until such time that it receives a forget message)
|
FailedToComplete
The Compensator was unable to tidy-up
|
| Modifier and Type | Method and Description |
|---|---|
static CompensatorStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompensatorStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompensatorStatus Compensating
public static final CompensatorStatus Compensated
public static final CompensatorStatus FailedToCompensate
public static final CompensatorStatus Completing
public static final CompensatorStatus Completed
public static final CompensatorStatus FailedToComplete
public static CompensatorStatus[] values()
for (CompensatorStatus c : CompensatorStatus.values()) System.out.println(c);
public static CompensatorStatus 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 nullCopyright © 2018 Eclipse Foundation. All rights reserved.