public class CombinedStrategy extends Object implements MavenResolutionStrategy
MavenResolutionStrategy implementation where only MavenDependencys passing a series of other
MavenResolutionStrategys are accepted| Constructor and Description |
|---|
CombinedStrategy(MavenResolutionStrategy... strategies) |
| Modifier and Type | Method and Description |
|---|---|
MavenResolutionFilter[] |
getPreResolutionFilters()
Obtains the
MavenResolutionFilter chain to be used in filtering a MavenDependency List
before the request is executed. |
MavenResolutionFilter[] |
getResolutionFilters()
Obtains the
MavenResolutionFilter chain to be used in filtering a MavenDependency List
during request processing (filtering is done by the backend). |
public CombinedStrategy(MavenResolutionStrategy... strategies)
public MavenResolutionFilter[] getPreResolutionFilters()
MavenResolutionStrategyMavenResolutionFilter chain to be used in filtering a MavenDependency List
before the request is executed. If any filters in the chain return false when
MavenResolutionFilter.accepts(MavenDependency, List) is invoked, false must be the result of
the chain's invocation. In other words, the chain acts as a logical AND for all
MavenResolutionFilters.getPreResolutionFilters in interface MavenResolutionStrategypublic MavenResolutionFilter[] getResolutionFilters()
MavenResolutionStrategyMavenResolutionFilter chain to be used in filtering a MavenDependency List
during request processing (filtering is done by the backend). If any filters in the chain return
false when MavenResolutionFilter.accepts(MavenDependency, List) is invoked,
false must be the result of the chain's invocation. In other words, the chain acts as a logical
AND for all MavenResolutionFilters.getResolutionFilters in interface MavenResolutionStrategyCopyright © 2012 JBoss by Red Hat. All Rights Reserved.