Enum EventType

java.lang.Object
java.lang.Enum<EventType>
org.apache.maven.api.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, java.lang.constant.Constable

@Experimental public enum EventType extends Enum<EventType>
The possible types of execution events.
Since:
4.0
  • Enum Constant Details

    • PROJECT_DISCOVERY_STARTED

      public static final EventType PROJECT_DISCOVERY_STARTED
    • SESSION_STARTED

      public static final EventType SESSION_STARTED
    • SESSION_ENDED

      public static final EventType SESSION_ENDED
    • PROJECT_SKIPPED

      public static final EventType PROJECT_SKIPPED
    • PROJECT_STARTED

      public static final EventType PROJECT_STARTED
    • PROJECT_SUCCEEDED

      public static final EventType PROJECT_SUCCEEDED
    • PROJECT_FAILED

      public static final EventType PROJECT_FAILED
    • MOJO_SKIPPED

      public static final EventType MOJO_SKIPPED
    • MOJO_STARTED

      public static final EventType MOJO_STARTED
    • MOJO_SUCCEEDED

      public static final EventType MOJO_SUCCEEDED
    • MOJO_FAILED

      public static final EventType MOJO_FAILED
    • FORK_STARTED

      public static final EventType FORK_STARTED
    • FORK_SUCCEEDED

      public static final EventType FORK_SUCCEEDED
    • FORK_FAILED

      public static final EventType FORK_FAILED
    • FORKED_PROJECT_STARTED

      public static final EventType FORKED_PROJECT_STARTED
    • FORKED_PROJECT_SUCCEEDED

      public static final EventType FORKED_PROJECT_SUCCEEDED
    • FORKED_PROJECT_FAILED

      public static final EventType FORKED_PROJECT_FAILED
  • Method Details

    • values

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

      public static EventType 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