Enum Class ProcessingLifecycle.DefaultPhases

java.lang.Object
java.lang.Enum<ProcessingLifecycle.DefaultPhases>
org.axonframework.messaging.core.unitofwork.ProcessingLifecycle.DefaultPhases
All Implemented Interfaces:
Serializable, Comparable<ProcessingLifecycle.DefaultPhases>, Constable, ProcessingLifecycle.Phase
Enclosing interface:
ProcessingLifecycle

public static enum ProcessingLifecycle.DefaultPhases extends Enum<ProcessingLifecycle.DefaultPhases> implements ProcessingLifecycle.Phase
Default phases used for the shorthand methods in the ProcessingLifecycle.
Since:
5.0.0
Author:
Allard Buijze, Gerard Klijs, Milan Savić, Mitchell Herrijgers, Sara Pellegrini, Steven van Beelen
  • Enum Constant Details

  • Method Details

    • values

      public static ProcessingLifecycle.DefaultPhases[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProcessingLifecycle.DefaultPhases valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • order

      public int order()
      Description copied from interface: ProcessingLifecycle.Phase
      The order of this phase compared to other phases. Phases with the same order are considered "simultaneous" and may have their handlers invoked in parallel.
      Specified by:
      order in interface ProcessingLifecycle.Phase
      Returns:
      The int describing the relative order of this phase.