Enum ProjectMessage.EventType
- java.lang.Object
-
- java.lang.Enum<ProjectMessage.EventType>
-
- org.codehaus.plexus.build.connect.messages.ProjectMessage.EventType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProjectMessage.EventType>
- Enclosing class:
- ProjectMessage
public static enum ProjectMessage.EventType extends java.lang.Enum<ProjectMessage.EventType>
Describe the type of the event
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ProjectFailedThe project failedProjectSkippedThe project was skippedProjectStartedThe project was startedProjectSucceededthe project succeedUnknownthe type of event is unknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectMessage.EventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProjectMessage.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ProjectStarted
public static final ProjectMessage.EventType ProjectStarted
The project was started
-
ProjectFailed
public static final ProjectMessage.EventType ProjectFailed
The project failed
-
ProjectSkipped
public static final ProjectMessage.EventType ProjectSkipped
The project was skipped
-
ProjectSucceeded
public static final ProjectMessage.EventType ProjectSucceeded
the project succeed
-
Unknown
public static final ProjectMessage.EventType Unknown
the type of event is unknown
-
-
Method Detail
-
values
public static ProjectMessage.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 (ProjectMessage.EventType c : ProjectMessage.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 ProjectMessage.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
-
-