Enum OutputType
- java.lang.Object
-
- java.lang.Enum<OutputType>
-
- org.apache.maven.buildcache.artifact.OutputType
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputType>
public enum OutputType extends Enum<OutputType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTIFACT
EXTRA_OUTPUT
GENERATED_SOURCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputType
fromClassifier(String classifier)
String
getClassifierPrefix()
static OutputType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARTIFACT
public static final OutputType ARTIFACT
-
GENERATED_SOURCE
public static final OutputType GENERATED_SOURCE
-
EXTRA_OUTPUT
public static final OutputType EXTRA_OUTPUT
-
-
Method Detail
-
values
public static OutputType[] 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 (OutputType c : OutputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputType 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
-
getClassifierPrefix
public String getClassifierPrefix()
-
fromClassifier
public static OutputType fromClassifier(String classifier)
-
-