Package adalid.jee2
Enum ProjectDependencyScope
- java.lang.Object
-
- java.lang.Enum<ProjectDependencyScope>
-
- adalid.jee2.ProjectDependencyScope
-
- All Implemented Interfaces:
Serializable,Comparable<ProjectDependencyScope>
public enum ProjectDependencyScope extends Enum<ProjectDependencyScope>
- Author:
- Jorge Campins
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMavenScope()static ProjectDependencyScopevalueOf(String name)Returns the enum constant of this type with the specified name.static ProjectDependencyScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPILE
public static final ProjectDependencyScope COMPILE
-
PROVIDED
public static final ProjectDependencyScope PROVIDED
-
RUNTIME
public static final ProjectDependencyScope RUNTIME
-
TEST
public static final ProjectDependencyScope TEST
-
SYSTEM
public static final ProjectDependencyScope SYSTEM
-
-
Method Detail
-
values
public static ProjectDependencyScope[] 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 (ProjectDependencyScope c : ProjectDependencyScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectDependencyScope 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
-
getMavenScope
public String getMavenScope()
-
-