Enum MojoMessage.EventType
- java.lang.Object
-
- java.lang.Enum<MojoMessage.EventType>
-
- org.codehaus.plexus.build.connect.messages.MojoMessage.EventType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MojoMessage.EventType>
- Enclosing class:
- MojoMessage
public static enum MojoMessage.EventType extends java.lang.Enum<MojoMessage.EventType>
create the event type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MojoFailedThe mojo failedMojoSkippedThe mojo was skippedMojoStartedthe mojo was startedMojoSucceededThe mojo succeedUnknownthe type is unknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MojoMessage.EventTypevalueOf(java.lang.String name)Returns 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 Detail
-
MojoStarted
public static final MojoMessage.EventType MojoStarted
the mojo was started
-
MojoFailed
public static final MojoMessage.EventType MojoFailed
The mojo failed
-
MojoSkipped
public static final MojoMessage.EventType MojoSkipped
The mojo was skipped
-
MojoSucceeded
public static final MojoMessage.EventType MojoSucceeded
The mojo succeed
-
Unknown
public static final MojoMessage.EventType Unknown
the type is unknown
-
-
Method Detail
-
values
public static MojoMessage.EventType[] 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 (MojoMessage.EventType c : MojoMessage.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MojoMessage.EventType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-