|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DependencyResolver
Method Summary | |
---|---|
DownloadReport |
download(Artifact[] artifacts,
DownloadOptions options)
|
void |
dumpSettings()
|
boolean |
exists(Artifact artifact)
|
ResolvedModuleRevision |
getDependency(DependencyDescriptor dd,
ResolveData data)
Resolve a module by id, getting its module descriptor and resolving the revision if it's a latest one (i.e. a revision uniquely identifying the revision of a module in the current environment - If this revision is not able to identify uniquelely the revision of the module outside of the current environment, then the resolved revision must begin by ##) |
java.lang.String |
getName()
|
ModuleEntry[] |
listModules(OrganisationEntry org)
|
OrganisationEntry[] |
listOrganisations()
|
RevisionEntry[] |
listRevisions(ModuleEntry module)
|
java.lang.String[] |
listTokenValues(java.lang.String token,
java.util.Map otherTokenValues)
List all the values the given token can take if other tokens are set as described in the otherTokenValues map. |
void |
publish(Artifact artifact,
java.io.File src,
boolean overwrite)
|
void |
reportFailure()
Reports last resolve failure as Messages |
void |
reportFailure(Artifact art)
Reports last artifact download failure as Messages |
void |
setName(java.lang.String name)
Should only be used by configurator |
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- the new name of the resolverResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws java.text.ParseException
java.text.ParseException
DownloadReport download(Artifact[] artifacts, DownloadOptions options)
boolean exists(Artifact artifact)
void publish(Artifact artifact, java.io.File src, boolean overwrite) throws java.io.IOException
java.io.IOException
void reportFailure()
void reportFailure(Artifact art)
art
- java.lang.String[] listTokenValues(java.lang.String token, java.util.Map otherTokenValues)
OrganisationEntry[] listOrganisations()
ModuleEntry[] listModules(OrganisationEntry org)
RevisionEntry[] listRevisions(ModuleEntry module)
void dumpSettings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |