Package org.apache.maven.shared.invoker
Enum InvocationRequest.CheckSumPolicy
- java.lang.Object
-
- java.lang.Enum<InvocationRequest.CheckSumPolicy>
-
- org.apache.maven.shared.invoker.InvocationRequest.CheckSumPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<InvocationRequest.CheckSumPolicy>
- Enclosing interface:
- InvocationRequest
public static enum InvocationRequest.CheckSumPolicy extends Enum<InvocationRequest.CheckSumPolicy>
The kind of checksum policy which should be used during Maven invocation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InvocationRequest.CheckSumPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static InvocationRequest.CheckSumPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Fail
public static final InvocationRequest.CheckSumPolicy Fail
Strict checksum checking equivalent of--strict-checksums
-
Warn
public static final InvocationRequest.CheckSumPolicy Warn
Warn checksum failures equivalent--lax-checksums
.
-
-
Method Detail
-
values
public static InvocationRequest.CheckSumPolicy[] 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.CheckSumPolicy c : InvocationRequest.CheckSumPolicy.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.CheckSumPolicy 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
-
-