public enum TransitiveStrategy extends Enum<TransitiveStrategy> implements MavenResolutionStrategy
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 and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final TransitiveStrategy INSTANCE
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 nameNullPointerException - 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()Copyright © 2012 JBoss by Red Hat. All Rights Reserved.