| java.lang.Object org.apache.ivy.plugins.resolver.AbstractResolver org.apache.ivy.plugins.resolver.BasicResolver org.apache.ivy.plugins.resolver.AbstractResourceResolver org.apache.ivy.plugins.resolver.RepositoryResolver
All known Subclasses: org.apache.ivy.plugins.resolver.URLResolver, org.apache.ivy.plugins.resolver.VsftpResolver, org.apache.ivy.plugins.resolver.FileSystemResolver, org.apache.ivy.plugins.resolver.AbstractSshBasedResolver, org.apache.ivy.plugins.resolver.VfsResolver,
Method Summary | |
public DownloadReport | download(Artifact[] artifacts, DownloadOptions options) | public void | dumpSettings() | protected ResolvedResource | findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date) | public ResolvedResource | findResourceUsingPattern(String name, Repository repository, LatestStrategy strategy, VersionMatcher versionMatcher, ResourceMDParser rmdparser, ModuleRevisionId mrid, String pattern, Artifact artifact, Date date, boolean alwaysCheckExactRevision) | protected void | findTokenValues(Collection names, List patterns, Map tokenValues, String token) | protected long | get(Resource resource, File dest) | protected String | getDestination(String pattern, Artifact artifact, ModuleRevisionId mrid) | public Repository | getRepository() | public String | getTypeName() | public boolean | isAlwaysCheckExactRevision() | protected ResolvedResource[] | listResources(Repository repository, ModuleRevisionId mrid, String pattern, Artifact artifact) List all revisions as resolved resources for the given artifact in the given repository using
the given pattern, and using the given mrid except its revision. | public void | publish(Artifact artifact, File src, boolean overwrite) | public void | setAlwaysCheckExactRevision(boolean alwaysCheckExactRevision) | public void | setName(String name) | public void | setRepository(Repository repository) | public void | setSettings(ResolverSettings settings) |
RepositoryResolver | public RepositoryResolver()(Code) | | |
dumpSettings | public void dumpSettings()(Code) | | |
isAlwaysCheckExactRevision | public boolean isAlwaysCheckExactRevision()(Code) | | |
listResources | protected ResolvedResource[] listResources(Repository repository, ModuleRevisionId mrid, String pattern, Artifact artifact)(Code) | | List all revisions as resolved resources for the given artifact in the given repository using
the given pattern, and using the given mrid except its revision.
Parameters: repository - the repository in which revisions should be located Parameters: mrid - the module revision id to look for (except revision) Parameters: pattern - the pattern to use to locate the revisions Parameters: artifact - the artifact to find an array of ResolvedResource, all pointing to a different revision of the givenArtifact. |
setAlwaysCheckExactRevision | public void setAlwaysCheckExactRevision(boolean alwaysCheckExactRevision)(Code) | | |
Methods inherited from org.apache.ivy.plugins.resolver.AbstractResourceResolver | public void addArtifactPattern(String pattern)(Code)(Java Doc) public void addConfiguredArtifact(IvyPattern p)(Code)(Java Doc) public void addConfiguredIvy(IvyPattern p)(Code)(Java Doc) public void addIvyPattern(String pattern)(Code)(Java Doc) protected ModuleRevisionId convertM2IdForResourceSearch(ModuleRevisionId mrid)(Code)(Java Doc) public void dumpSettings()(Code)(Java Doc) protected Collection filterNames(Collection names)(Code)(Java Doc) protected Collection findArtifactNames(Map tokenValues, String token)(Code)(Java Doc) protected ResolvedResource findArtifactRef(Artifact artifact, Date date)(Code)(Java Doc) public ResolvedResource findIvyFileRef(DependencyDescriptor dd, ResolveData data)(Code)(Java Doc) protected Collection findIvyNames(Map tokenValues, String token)(Code)(Java Doc) protected Collection findNames(Map tokenValues, String token)(Code)(Java Doc) public ResolvedResource findResource(ResolvedResource[] rress, String name, LatestStrategy strategy, VersionMatcher versionMatcher, ResourceMDParser rmdparser, ModuleRevisionId mrid, Date date)(Code)(Java Doc) abstract protected ResolvedResource findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date)(Code)(Java Doc) protected ResolvedResource findResourceUsingPatterns(ModuleRevisionId moduleRevision, List patternList, Artifact artifact, ResourceMDParser rmdparser, Date date)(Code)(Java Doc) protected void findTokenValues(Collection names, List patterns, Map tokenValues, String token)(Code)(Java Doc) public List getArtifactPatterns()(Code)(Java Doc) public List getIvyPatterns()(Code)(Java Doc) public boolean isM2compatible()(Code)(Java Doc) protected void setArtifactPatterns(List patterns)(Code)(Java Doc) protected void setIvyPatterns(List patterns)(Code)(Java Doc) public void setM2compatible(boolean compatible)(Code)(Java Doc)
|
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)
|
|
|