Enum EventTransformation.State
- java.lang.Object
-
- java.lang.Enum<EventTransformation.State>
-
- io.axoniq.axonserver.connector.event.transformation.EventTransformation.State
-
- All Implemented Interfaces:
Serializable,Comparable<EventTransformation.State>
- Enclosing interface:
- EventTransformation
public static enum EventTransformation.State extends Enum<EventTransformation.State>
The state of the transformation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEA transformation is in ACTIVE state when it is still open to accept new transformation actions.APPLIEDA transformation is in APPLIED state when all the transformation actions registered in it have been applied to the event store.APPLYINGA transformation is in APPLYING state when the process to apply the transformation actions against the event store is in progress.CANCELLEDA transformation is in CANCELLED state when it has been discarded before to be applied.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventTransformation.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static EventTransformation.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final EventTransformation.State ACTIVE
A transformation is in ACTIVE state when it is still open to accept new transformation actions. A new transformation is created in ACTIVE state.
-
APPLYING
public static final EventTransformation.State APPLYING
A transformation is in APPLYING state when the process to apply the transformation actions against the event store is in progress. In this state, the transformation cannot accept any further transformation action.
-
APPLIED
public static final EventTransformation.State APPLIED
A transformation is in APPLIED state when all the transformation actions registered in it have been applied to the event store.
-
CANCELLED
public static final EventTransformation.State CANCELLED
A transformation is in CANCELLED state when it has been discarded before to be applied. In this state, the transformation cannot accept any further transformation action, and cannot be applied.
-
-
Method Detail
-
values
public static EventTransformation.State[] 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 (EventTransformation.State c : EventTransformation.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventTransformation.State 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
-
-