Enum ApisJarMojo.ArtifactType
- java.lang.Object
-
- java.lang.Enum<ApisJarMojo.ArtifactType>
-
- org.apache.sling.feature.maven.mojos.ApisJarMojo.ArtifactType
-
- All Implemented Interfaces:
Serializable
,Comparable<ApisJarMojo.ArtifactType>
- Enclosing class:
- ApisJarMojo
public static enum ApisJarMojo.ArtifactType extends Enum<ApisJarMojo.ArtifactType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentExtension()
String
getContentType()
String
getExtension()
String
getId()
static ApisJarMojo.ArtifactType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApisJarMojo.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 ApisJarMojo.ArtifactType APIS
-
SOURCES
public static final ApisJarMojo.ArtifactType SOURCES
-
JAVADOC
public static final ApisJarMojo.ArtifactType JAVADOC
-
DEPENDENCIES
public static final ApisJarMojo.ArtifactType DEPENDENCIES
-
CND
public static final ApisJarMojo.ArtifactType CND
-
REPORT
public static final ApisJarMojo.ArtifactType REPORT
-
-
Method Detail
-
values
public static ApisJarMojo.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 (ApisJarMojo.ArtifactType c : ApisJarMojo.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 ApisJarMojo.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()
-
-