|
ShrinkWrap Resolver Maven API 2.0.0-cr-1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DefaultTransitiveExclusionPolicy>
org.jboss.shrinkwrap.resolver.api.maven.strategy.DefaultTransitiveExclusionPolicy
public enum DefaultTransitiveExclusionPolicy
Applies the default behavior exhibited by Maven with regards to handling transitive dependencies during resolution.
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 Summary | |
|---|---|
INSTANCE
|
|
| Method Summary | |
|---|---|
boolean |
allowOptional()
Whether or not optional transitive dependencies should be included during resolution |
ScopeType[] |
getFilteredScopes()
Returns the ScopeTypes 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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DefaultTransitiveExclusionPolicy INSTANCE
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic boolean allowOptional()
allowOptional in interface TransitiveExclusionPolicyTransitiveExclusionPolicy.allowOptional()public ScopeType[] getFilteredScopes()
ScopeTypes which should be filtered out of transitive dependencies and thus not included
during resolution.
getFilteredScopes in interface TransitiveExclusionPolicyTransitiveExclusionPolicy.getFilteredScopes()
|
ShrinkWrap Resolver Maven API 2.0.0-cr-1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||