Package org.apache.maven.shared.invoker
Enum InvocationRequest.ReactorFailureBehavior
- java.lang.Object
-
- java.lang.Enum<InvocationRequest.ReactorFailureBehavior>
-
- org.apache.maven.shared.invoker.InvocationRequest.ReactorFailureBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<InvocationRequest.ReactorFailureBehavior>
- Enclosing interface:
- InvocationRequest
public static enum InvocationRequest.ReactorFailureBehavior extends Enum<InvocationRequest.ReactorFailureBehavior>
The reactor failure behavior which to be used during Maven invocation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLongOption()
String
getShortOption()
static InvocationRequest.ReactorFailureBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static InvocationRequest.ReactorFailureBehavior
valueOfByLongOption(String longOption)
Returns the enumeration type which is related to the given long option.static InvocationRequest.ReactorFailureBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FailFast
public static final InvocationRequest.ReactorFailureBehavior FailFast
Stop at first failure in reactor builds
-
FailAtEnd
public static final InvocationRequest.ReactorFailureBehavior FailAtEnd
Only fail the build afterwards. allow all non-impacted builds to continue.
-
FailNever
public static final InvocationRequest.ReactorFailureBehavior FailNever
NEVER fail the build, regardless of project result
-
-
Method Detail
-
values
public static InvocationRequest.ReactorFailureBehavior[] 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 (InvocationRequest.ReactorFailureBehavior c : InvocationRequest.ReactorFailureBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvocationRequest.ReactorFailureBehavior valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getShortOption
public String getShortOption()
-
getLongOption
public String getLongOption()
-
valueOfByLongOption
public static InvocationRequest.ReactorFailureBehavior valueOfByLongOption(String longOption)
Returns the enumeration type which is related to the given long option.- Parameters:
longOption
- The type which is searched for.- Returns:
- The appropriate
InvocationRequest.ReactorFailureBehavior
- Throws:
IllegalArgumentException
- in case of an long option which does not exists.
-
-