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 ResolutionStrategyIllegalStateException - 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 - 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 - 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 - 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
IllegalArgumentException - If no dependency is suppliedRESOLVESTAGETYPE addDependencies(COORDINATETYPE... dependencies) throws IllegalArgumentException
IllegalArgumentException - If no dependencies are suppliedRESOLVESTAGETYPE addDependencies(Collection<COORDINATETYPE> dependencies) throws IllegalArgumentException
IllegalArgumentException - If the Collection is nullCopyright © 2013 JBoss by Red Hat. All Rights Reserved.