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.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.valueOfByLongOption
(String longOption) Returns the enumeration type which is related to the given long option.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FailFast
Stop at first failure in reactor builds -
FailAtEnd
Only fail the build afterwards. allow all non-impacted builds to continue. -
FailNever
NEVER fail the build, regardless of project result
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getLongOption
-
valueOfByLongOption
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.
-