public enum DefaultTransitiveExclusionPolicy extends Enum<DefaultTransitiveExclusionPolicy> implements TransitiveExclusionPolicy
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Transitive_Dependencies
,
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
allowOptional()
Whether or not optional transitive dependencies should be included during resolution
|
ScopeType[] |
getFilteredScopes()
Returns the
ScopeType s which should be filtered out of transitive dependencies and thus not included
during resolution. |
static DefaultTransitiveExclusionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultTransitiveExclusionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultTransitiveExclusionPolicy INSTANCE
public static DefaultTransitiveExclusionPolicy[] values()
for (DefaultTransitiveExclusionPolicy c : DefaultTransitiveExclusionPolicy.values()) System.out.println(c);
public static DefaultTransitiveExclusionPolicy 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 boolean allowOptional()
allowOptional
in interface TransitiveExclusionPolicy
TransitiveExclusionPolicy.allowOptional()
public ScopeType[] getFilteredScopes()
ScopeType
s which should be filtered out of transitive dependencies and thus not included
during resolution.getFilteredScopes
in interface TransitiveExclusionPolicy
TransitiveExclusionPolicy.getFilteredScopes()
Copyright © 2013 JBoss by Red Hat. All rights reserved.