|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.jayasoft.ivy.resolver.AbstractResolver
This abstract resolver only provides handling for resolver name
| Constructor Summary | |
AbstractResolver()
|
|
| Method Summary | |
protected boolean |
doValidate(ResolveData data)
|
void |
dumpConfig()
|
boolean |
exists(Artifact artifact)
Default implementation actually download the artifact Subclasses should overwrite this to avoid the download |
protected ResolvedModuleRevision |
findModuleInCache(ResolveData data,
ModuleRevisionId mrid)
|
protected Artifact |
fromSystem(Artifact artifact)
|
protected DependencyDescriptor |
fromSystem(DependencyDescriptor dd)
|
Ivy |
getIvy()
|
java.lang.String |
getLatest()
|
LatestStrategy |
getLatestStrategy()
|
java.lang.String |
getName()
|
Namespace |
getNamespace()
|
protected IvyNode |
getSystemNode(ResolveData data,
ModuleRevisionId resolvedMrid)
|
java.lang.String |
getTypeName()
|
boolean |
isValidate()
|
ModuleEntry[] |
listModules(OrganisationEntry org)
|
OrganisationEntry[] |
listOrganisations()
|
RevisionEntry[] |
listRevisions(ModuleEntry module)
|
void |
reportFailure()
Reports last resolve failure as Messages |
void |
reportFailure(Artifact art)
Reports last artifact download failure as Messages |
void |
setIvy(Ivy ivy)
|
void |
setLatest(java.lang.String strategyName)
|
void |
setLatestStrategy(LatestStrategy latestStrategy)
|
void |
setName(java.lang.String name)
Should only be used by configurator |
void |
setNamespace(java.lang.String namespaceName)
|
void |
setValidate(boolean validate)
|
java.lang.String |
toString()
|
protected Artifact |
toSystem(Artifact artifact)
|
protected ModuleDescriptor |
toSystem(ModuleDescriptor md)
|
protected ModuleRevisionId |
toSystem(ModuleRevisionId resolvedMrid)
|
protected ResolvedModuleRevision |
toSystem(ResolvedModuleRevision rmr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fr.jayasoft.ivy.DependencyResolver |
download, getDependency, publish |
| Constructor Detail |
public AbstractResolver()
| Method Detail |
public Ivy getIvy()
public void setIvy(Ivy ivy)
setIvy in interface IvyAwarepublic java.lang.String getName()
getName in interface DependencyResolverpublic void setName(java.lang.String name)
DependencyResolver
setName in interface DependencyResolvername - the new name of the resolverprotected boolean doValidate(ResolveData data)
public boolean isValidate()
public void setValidate(boolean validate)
public void reportFailure()
DependencyResolver
reportFailure in interface DependencyResolverpublic void reportFailure(Artifact art)
DependencyResolver
reportFailure in interface DependencyResolverart - public OrganisationEntry[] listOrganisations()
listOrganisations in interface DependencyResolverpublic ModuleEntry[] listModules(OrganisationEntry org)
listModules in interface DependencyResolverpublic RevisionEntry[] listRevisions(ModuleEntry module)
listRevisions in interface DependencyResolverpublic java.lang.String toString()
public void dumpConfig()
dumpConfig in interface DependencyResolverpublic java.lang.String getTypeName()
public boolean exists(Artifact artifact)
exists in interface DependencyResolverpublic LatestStrategy getLatestStrategy()
getLatestStrategy in interface HasLatestStrategypublic void setLatestStrategy(LatestStrategy latestStrategy)
setLatestStrategy in interface HasLatestStrategypublic void setLatest(java.lang.String strategyName)
public java.lang.String getLatest()
getLatest in interface HasLatestStrategypublic Namespace getNamespace()
public void setNamespace(java.lang.String namespaceName)
protected ModuleDescriptor toSystem(ModuleDescriptor md)
protected Artifact fromSystem(Artifact artifact)
protected Artifact toSystem(Artifact artifact)
protected ResolvedModuleRevision toSystem(ResolvedModuleRevision rmr)
protected ModuleRevisionId toSystem(ModuleRevisionId resolvedMrid)
protected DependencyDescriptor fromSystem(DependencyDescriptor dd)
protected IvyNode getSystemNode(ResolveData data,
ModuleRevisionId resolvedMrid)
protected ResolvedModuleRevision findModuleInCache(ResolveData data,
ModuleRevisionId mrid)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||