| java.lang.Object org.apache.ivy.plugins.resolver.AbstractResolver org.apache.ivy.plugins.resolver.BasicResolver org.apache.ivy.plugins.resolver.AbstractResourceResolver
All known Subclasses: org.apache.ivy.plugins.resolver.RepositoryResolver,
AbstractResourceResolver | abstract public class AbstractResourceResolver extends BasicResolver (Code) | | |
Method Summary | |
public void | addArtifactPattern(String pattern) | public void | addConfiguredArtifact(IvyPattern p) | public void | addConfiguredIvy(IvyPattern p) | public void | addIvyPattern(String pattern) | protected ModuleRevisionId | convertM2IdForResourceSearch(ModuleRevisionId mrid) | public void | dumpSettings() | protected Collection | filterNames(Collection names) Filters names before returning them in the findXXXNames or findTokenValues method.
Remember to call the super implementation when overriding this method.
Parameters: names - the list to filter. | protected Collection | findArtifactNames(Map tokenValues, String token) | protected ResolvedResource | findArtifactRef(Artifact artifact, Date date) | public ResolvedResource | findIvyFileRef(DependencyDescriptor dd, ResolveData data) | protected Collection | findIvyNames(Map tokenValues, String token) | protected Collection | findNames(Map tokenValues, String token) | public ResolvedResource | findResource(ResolvedResource[] rress, String name, LatestStrategy strategy, VersionMatcher versionMatcher, ResourceMDParser rmdparser, ModuleRevisionId mrid, Date date) | abstract protected ResolvedResource | findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date) | protected ResolvedResource | findResourceUsingPatterns(ModuleRevisionId moduleRevision, List patternList, Artifact artifact, ResourceMDParser rmdparser, Date date) | protected void | findTokenValues(Collection names, List patterns, Map tokenValues, String token) | public List | getArtifactPatterns() | public List | getIvyPatterns() | public boolean | isM2compatible() | protected void | setArtifactPatterns(List patterns) | protected void | setIvyPatterns(List patterns) | public void | setM2compatible(boolean compatible) |
AbstractResourceResolver | public AbstractResourceResolver()(Code) | | |
addArtifactPattern | public void addArtifactPattern(String pattern)(Code) | | |
addIvyPattern | public void addIvyPattern(String pattern)(Code) | | example of pattern : ~/Workspace/[module]/[module].ivy.xml
Parameters: pattern - |
dumpSettings | public void dumpSettings()(Code) | | |
filterNames | protected Collection filterNames(Collection names)(Code) | | Filters names before returning them in the findXXXNames or findTokenValues method.
Remember to call the super implementation when overriding this method.
Parameters: names - the list to filter. the filtered list |
getArtifactPatterns | public List getArtifactPatterns()(Code) | | |
isM2compatible | public boolean isM2compatible()(Code) | | |
setArtifactPatterns | protected void setArtifactPatterns(List patterns)(Code) | | |
setIvyPatterns | protected void setIvyPatterns(List patterns)(Code) | | |
setM2compatible | public void setM2compatible(boolean compatible)(Code) | | |
Methods inherited from org.apache.ivy.plugins.resolver.BasicResolver | protected boolean acceptLatest()(Code)(Java Doc) protected void clearArtifactAttempts()(Code)(Java Doc) protected void clearIvyAttempts()(Code)(Java Doc) public DownloadReport download(Artifact[] artifacts, DownloadOptions options)(Code)(Java Doc) public boolean exists(Artifact artifact)(Code)(Java Doc) abstract protected ResolvedResource findArtifactRef(Artifact artifact, Date date)(Code)(Java Doc) protected ResolvedResource findFirstArtifactRef(ModuleDescriptor md, DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) abstract protected Collection findNames(Map tokenValues, String token)(Code)(Java Doc) abstract protected long get(Resource resource, File dest) throws IOException(Code)(Java Doc) protected long getAndCheck(Resource resource, File dest) throws IOException(Code)(Java Doc) protected ResolvedResource getArtifactRef(Artifact artifact, Date date)(Code)(Java Doc) public String[] getChecksumAlgorithms()(Code)(Java Doc) protected ResourceMDParser getDefaultRMDParser(ModuleId mid)(Code)(Java Doc) public ResolvedModuleRevision getDependency(DependencyDescriptor dde, ResolveData data) throws ParseException(Code)(Java Doc) protected long getPublicationDate(ModuleDescriptor md, DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) protected ResourceMDParser getRMDParser(DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) public String getWorkspaceName()(Code)(Java Doc) public boolean isAllownomd()(Code)(Java Doc) public boolean isCheckconsistency()(Code)(Java Doc) public boolean isEnvDependent()(Code)(Java Doc) public ModuleEntry[] listModules(OrganisationEntry org)(Code)(Java Doc) public OrganisationEntry[] listOrganisations()(Code)(Java Doc) public RevisionEntry[] listRevisions(ModuleEntry mod)(Code)(Java Doc) public String[] listTokenValues(String token, Map otherTokenValues)(Code)(Java Doc) protected void logArtifactAttempt(Artifact art, String attempt)(Code)(Java Doc) protected void logAttempt(String attempt)(Code)(Java Doc) protected void logIvyAttempt(String attempt)(Code)(Java Doc) public ResolvedModuleRevision parse(ResolvedResource mdRef, DependencyDescriptor dd, ResolveData data) throws ParseException(Code)(Java Doc) public void reportFailure()(Code)(Java Doc) public void reportFailure(Artifact art)(Code)(Java Doc) public void setAllownomd(boolean b)(Code)(Java Doc) public void setCheckconsistency(boolean checkConsitency)(Code)(Java Doc) public void setChecksums(String checksums)(Code)(Java Doc) public void setEnvDependent(boolean envDependent)(Code)(Java Doc) public void setWorkspaceName(String workspaceName)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|