public interface ResolveStage<COORDINATETYPE extends Coordinate,RESOLUTIONFILTERTYPE extends ResolutionFilter,RESOLVESTAGETYPE extends ResolveStage<COORDINATETYPE,RESOLUTIONFILTERTYPE,RESOLVESTAGETYPE,STRATEGYSTAGETYPE,RESOLVEDTYPE,FORMATSTAGETYPE,RESOLUTIONSTRATEGYTYPE>,STRATEGYSTAGETYPE extends StrategyStage<COORDINATETYPE,RESOLUTIONFILTERTYPE,RESOLVEDTYPE,FORMATSTAGETYPE,RESOLUTIONSTRATEGYTYPE>,RESOLVEDTYPE extends ResolvedArtifact<RESOLVEDTYPE>,FORMATSTAGETYPE extends FormatStage<RESOLVEDTYPE>,RESOLUTIONSTRATEGYTYPE extends ResolutionStrategy<COORDINATETYPE,RESOLUTIONFILTERTYPE,RESOLUTIONSTRATEGYTYPE>>
Coordinate
address(es) for resolution in a
repository-based ResolverSystem
.Modifier and Type | Method and Description |
---|---|
RESOLVESTAGETYPE |
addDependencies(Collection<COORDINATETYPE> dependencies)
Adds the specified dependencies to be resolved
|
RESOLVESTAGETYPE |
addDependencies(COORDINATETYPE... dependencies)
Adds the specified coordinates to be resolved
|
RESOLVESTAGETYPE |
addDependency(COORDINATETYPE dependency)
Adds the specified coordinate to be resolved
|
STRATEGYSTAGETYPE |
resolve()
Begins resolution of the prior-defined dependencies, returning the next
StrategyStage for the user to
define the ResolutionStrategy |
STRATEGYSTAGETYPE |
resolve(Collection<String> canonicalForms)
Begins resolution by defining a
Collection of desired dependencies (in canonical form), returning the
next StrategyStage for the user to define the ResolutionStrategy . |
STRATEGYSTAGETYPE |
resolve(String... canonicalForms)
Begins resolution by defining a set of desired dependencies (in canonical form), returning the next
StrategyStage
for the user to define the ResolutionStrategy . |
STRATEGYSTAGETYPE |
resolve(String canonicalForm)
Begins resolution by defining the single desired dependency (in canonical form), returning the next
StrategyStage
for the user to define the ResolutionStrategy . |
STRATEGYSTAGETYPE resolve() throws IllegalStateException, ResolutionException
StrategyStage
for the user to
define the ResolutionStrategy
StrategyStage
for the user to define the ResolutionStrategy
.IllegalStateException
- If no dependencies have yet been addedResolutionException
- If an error occurred in resolutionSTRATEGYSTAGETYPE resolve(String canonicalForm) throws IllegalArgumentException, ResolutionException, CoordinateParseException
StrategyStage
for the user to define the ResolutionStrategy
. Previously-added dependencies will
be included in resolution.canonicalForm
- The canonical form of the single desired dependency.StrategyStage
for the user to define the ResolutionStrategy
.IllegalArgumentException
- If no coordinate is suppliedResolutionException
- If an error occurred in resolutionCoordinateParseException
- If the specified canonical form is invalidSTRATEGYSTAGETYPE resolve(String... canonicalForms) throws IllegalArgumentException, ResolutionException, CoordinateParseException
StrategyStage
for the user to define the ResolutionStrategy
. Previously-added dependencies will
be included in resolution.canonicalForms
- The canonical forms of the set of desired dependencies.StrategyStage
for the user to define the ResolutionStrategy
.IllegalArgumentException
- If no coordinates are suppliedResolutionException
- If an error occurred in resolutionCoordinateParseException
- If one or more of the specified canonical forms is invalidSTRATEGYSTAGETYPE resolve(Collection<String> canonicalForms) throws IllegalArgumentException, ResolutionException, CoordinateParseException
Collection
of desired dependencies (in canonical form), returning the
next StrategyStage
for the user to define the ResolutionStrategy
. Previously-added dependencies
will be included in resolution.canonicalForms
- A Collection
of the canonical forms a of the desired dependencies.StrategyStage
for the user to define the ResolutionStrategy
.IllegalArgumentException
- If no coordinates are suppliedResolutionException
- If an error occurred in resolutionCoordinateParseException
- If one or more of the specified canonical forms is invalidRESOLVESTAGETYPE addDependency(COORDINATETYPE dependency) throws IllegalArgumentException
dependency
- The coordinate to be resolved.ResolveStage
with added coordinate.IllegalArgumentException
- If no dependency is suppliedRESOLVESTAGETYPE addDependencies(COORDINATETYPE... dependencies) throws IllegalArgumentException
dependencies
- The set of coordinates to be resolved.ResolveStage
with added coordinates.IllegalArgumentException
- If no dependencies are suppliedRESOLVESTAGETYPE addDependencies(Collection<COORDINATETYPE> dependencies) throws IllegalArgumentException
dependencies
- A collection of coordinates to be resolved.ResolveStage
with added coordinates.IllegalArgumentException
- If the Collection
is nullCopyright © 2017 JBoss by Red Hat. All rights reserved.