Enum MojoMessage.EventType
java.lang.Object
java.lang.Enum<MojoMessage.EventType>
org.codehaus.plexus.build.connect.messages.MojoMessage.EventType
- All Implemented Interfaces:
Serializable, Comparable<MojoMessage.EventType>, java.lang.constant.Constable
- Enclosing class:
MojoMessage
create the event type
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe mojo failedThe mojo was skippedthe mojo was startedThe mojo succeedthe type is unknown -
Method Summary
Modifier and TypeMethodDescriptionstatic MojoMessage.EventTypeReturns the enum constant of this type with the specified name.static MojoMessage.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MojoStarted
the mojo was started -
MojoFailed
The mojo failed -
MojoSkipped
The mojo was skipped -
MojoSucceeded
The mojo succeed -
Unknown
the type is unknown
-
-
Method Details
-
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
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
-