|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.resolver.api.maven.strategy.AcceptScopesStrategy
public final class AcceptScopesStrategy
MavenResolutionStrategy implementation where only MavenDependencys in acceptable ScopeTypes
are accepted.
| Constructor Summary | |
|---|---|
AcceptScopesStrategy(ScopeType... scopes)
Creates a new instance allowing only the specified ScopeTypes to pass through the
getResolutionFilters() |
|
| Method Summary | |
|---|---|
MavenResolutionFilter[] |
getPreResolutionFilters()
Returns a MavenResolutionFilter chain allowing all MavenDependencys to pass-through. |
MavenResolutionFilter[] |
getResolutionFilters()
Returns a MavenResolutionFilter chain allowing only dependencies in the scopes specified during
construction of this instance to pass through |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AcceptScopesStrategy(ScopeType... scopes)
throws IllegalArgumentException
ScopeTypes to pass through the
getResolutionFilters()
scopes - llowed scopes, required
IllegalArgumentException - If no scopes are specified| Method Detail |
|---|
public MavenResolutionFilter[] getPreResolutionFilters()
MavenResolutionFilter chain allowing all MavenDependencys to pass-through.
getPreResolutionFilters in interface MavenResolutionStrategy.api.maven.strategy.MavenResolutionStrategy#getPreResolutionFilters()public MavenResolutionFilter[] getResolutionFilters()
MavenResolutionFilter chain allowing only dependencies in the scopes specified during
construction of this instance to pass through
getResolutionFilters in interface MavenResolutionStrategyapi.maven.strategy.MavenResolutionStrategy#getResolutionFilter()
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||