Enum ArtifactType
- java.lang.Object
-
- java.lang.Enum<ArtifactType>
-
- org.apache.sling.feature.maven.mojos.apis.ArtifactType
-
- All Implemented Interfaces:
Serializable
,Comparable<ArtifactType>
public enum ArtifactType extends Enum<ArtifactType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APIS
CND
DEPENDENCIES
DEPENDENCY_REPORT
JAVADOC
JAVADOC_ALL
REPORT
SOURCES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentExtension()
String
getContentType()
String
getExtension()
String
getId()
static ArtifactType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArtifactType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APIS
public static final ArtifactType APIS
-
SOURCES
public static final ArtifactType SOURCES
-
JAVADOC
public static final ArtifactType JAVADOC
-
JAVADOC_ALL
public static final ArtifactType JAVADOC_ALL
-
DEPENDENCIES
public static final ArtifactType DEPENDENCIES
-
CND
public static final ArtifactType CND
-
REPORT
public static final ArtifactType REPORT
-
DEPENDENCY_REPORT
public static final ArtifactType DEPENDENCY_REPORT
-
-
Method Detail
-
values
public static ArtifactType[] 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 (ArtifactType c : ArtifactType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArtifactType 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
-
getId
public String getId()
-
getContentType
public String getContentType()
-
getContentExtension
public String getContentExtension()
-
getExtension
public String getExtension()
-
-