aQute.bnd.maven.support
Enum Pom.Scope
java.lang.Object
java.lang.Enum<Pom.Scope>
aQute.bnd.maven.support.Pom.Scope
- All Implemented Interfaces:
- Serializable, Comparable<Pom.Scope>
- Enclosing class:
- Pom
public static enum Pom.Scope
- extends Enum<Pom.Scope>
Method Summary |
static Pom.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Pom.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
compile
public static final Pom.Scope compile
runtime
public static final Pom.Scope runtime
system
public static final Pom.Scope system
import_
public static final Pom.Scope import_
provided
public static final Pom.Scope provided
test
public static final Pom.Scope test
values
public static Pom.Scope[] 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 (Pom.Scope c : Pom.Scope.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Pom.Scope 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 name
NullPointerException
- if the argument is null
Copyright © 2012 aQute SARL. All Rights Reserved.