public static enum MojoExecution.Source extends Enum<MojoExecution.Source>
Enum Constant and 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 and Description |
---|---|
static MojoExecution.Source |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.