|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TransitiveStrategy>
org.jboss.shrinkwrap.resolver.api.maven.strategy.TransitiveStrategy
public enum TransitiveStrategy
MavenResolutionStrategy implementation where MavenDependencys are accepted based on transitivity.
This is implemented as a pass-through filter, as the backend will be supplying the transitive dependencies; we'll
just allow them.
| Enum Constant Summary | |
|---|---|
INSTANCE
|
|
| Method Summary | |
|---|---|
MavenResolutionFilter[] |
getPreResolutionFilters()
Returns a MavenResolutionFilter chain allowing all MavenDependencys to pass-through. |
MavenResolutionFilter[] |
getResolutionFilters()
Returns a MavenResolutionFilter chain allowing all MavenDependencys to pass-through. |
static TransitiveStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransitiveStrategy[] |
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 TransitiveStrategy INSTANCE
| Method Detail |
|---|
public static TransitiveStrategy[] values()
for (TransitiveStrategy c : TransitiveStrategy.values()) System.out.println(c);
public static TransitiveStrategy 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 MavenResolutionFilter[] getPreResolutionFilters()
MavenResolutionFilter chain allowing all MavenDependencys to pass-through.
getPreResolutionFilters in interface MavenResolutionStrategyMavenResolutionStrategy.getPreResolutionFilters()public MavenResolutionFilter[] getResolutionFilters()
MavenResolutionFilter chain allowing all MavenDependencys to pass-through.
getResolutionFilters in interface MavenResolutionStrategyMavenResolutionStrategy.getPreResolutionFilters()
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||