|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DependencyResolver
Method Summary | |
---|---|
void |
abortPublishTransaction()
|
void |
beginPublishTransaction(ModuleRevisionId module,
boolean overwrite)
|
void |
commitPublishTransaction()
|
DownloadReport |
download(Artifact[] artifacts,
DownloadOptions options)
|
void |
dumpSettings()
|
boolean |
exists(Artifact artifact)
|
ResolvedResource |
findIvyFileRef(DependencyDescriptor dd,
ResolveData data)
Finds the module descriptor for the specified DependencyDescriptor. |
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 |
void |
setSettings(ResolverSettings settings)
|
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
ResolvedResource findIvyFileRef(DependencyDescriptor dd, ResolveData data)
dd
- the dependency descriptordata
- the resolve data
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 beginPublishTransaction(ModuleRevisionId module, boolean overwrite) throws java.io.IOException
java.io.IOException
void abortPublishTransaction() throws java.io.IOException
java.io.IOException
void commitPublishTransaction() 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()
void setSettings(ResolverSettings settings)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |