Package adalid.jee2
Enum ProjectDependencyType
- java.lang.Object
-
- java.lang.Enum<ProjectDependencyType>
-
- adalid.jee2.ProjectDependencyType
-
- All Implemented Interfaces:
Serializable,Comparable<ProjectDependencyType>
public enum ProjectDependencyType extends Enum<ProjectDependencyType>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EAREJBEJB_CLIENTJARJAVA_SOURCEJAVADOCMAVEN_PLUGINPOMRARTEST_JARWAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMavenType()static ProjectDependencyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProjectDependencyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POM
public static final ProjectDependencyType POM
-
JAR
public static final ProjectDependencyType JAR
-
TEST_JAR
public static final ProjectDependencyType TEST_JAR
-
MAVEN_PLUGIN
public static final ProjectDependencyType MAVEN_PLUGIN
-
EJB
public static final ProjectDependencyType EJB
-
EJB_CLIENT
public static final ProjectDependencyType EJB_CLIENT
-
WAR
public static final ProjectDependencyType WAR
-
EAR
public static final ProjectDependencyType EAR
-
RAR
public static final ProjectDependencyType RAR
-
JAVA_SOURCE
public static final ProjectDependencyType JAVA_SOURCE
-
JAVADOC
public static final ProjectDependencyType JAVADOC
-
-
Method Detail
-
values
public static ProjectDependencyType[] 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 (ProjectDependencyType c : ProjectDependencyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectDependencyType 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
-
getMavenType
public String getMavenType()
-
-