java.io.Serializable, java.lang.Comparable<MojoExecution.Source>public static enum MojoExecution.Source extends java.lang.Enum<MojoExecution.Source>
| Enum Constant | Description |
|---|---|
CLI |
An execution that originates from the direct invocation of a goal from the CLI.
|
LIFECYCLE |
An execution that originates from a goal bound to a lifecycle phase.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MojoExecution.Source |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MojoExecution.Source[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MojoExecution.Source CLI
public static final MojoExecution.Source LIFECYCLE
public static MojoExecution.Source[] values()
for (MojoExecution.Source c : MojoExecution.Source.values()) System.out.println(c);
public static MojoExecution.Source valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null