public enum ArtifactScopeEnum extends Enum<ArtifactScopeEnum>
DEFAULT_SCOPE as well
 as convenience method to deal with scope relationships.| Enum Constant and Description | 
|---|
compile  | 
provided  | 
runtime  | 
runtime_plus_system  | 
system  | 
test  | 
| Modifier and Type | Field and Description | 
|---|---|
static ArtifactScopeEnum | 
DEFAULT_SCOPE  | 
| Modifier and Type | Method and Description | 
|---|---|
static ArtifactScopeEnum | 
checkScope(ArtifactScopeEnum scope)
Helper method to simplify null processing 
 | 
boolean | 
encloses(ArtifactScopeEnum scope)
scope relationship function. 
 | 
String | 
getScope()  | 
static ArtifactScopeEnum | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ArtifactScopeEnum[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ArtifactScopeEnum compile
public static final ArtifactScopeEnum test
public static final ArtifactScopeEnum runtime
public static final ArtifactScopeEnum provided
public static final ArtifactScopeEnum system
public static final ArtifactScopeEnum runtime_plus_system
public static final ArtifactScopeEnum DEFAULT_SCOPE
public static ArtifactScopeEnum[] values()
for (ArtifactScopeEnum c : ArtifactScopeEnum.values()) System.out.println(c);
public static ArtifactScopeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static final ArtifactScopeEnum checkScope(ArtifactScopeEnum scope)
public boolean encloses(ArtifactScopeEnum scope)
scope - Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.