Enum EventTransformation.State

    • 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 name
        NullPointerException - if the argument is null