org.apache.ivy.plugins.resolver
public class RepositoryResolver extends AbstractPatternsBasedResolver
Constructor Summary | |
---|---|
RepositoryResolver() |
Method Summary | |
---|---|
DownloadReport | download(Artifact[] artifacts, DownloadOptions options) |
void | dumpSettings() |
protected boolean | exist(String path) |
protected ResolvedResource | findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date) |
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) |
Repository | getRepository() |
protected Resource | getResource(String source) |
String | getTypeName() |
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.
|
protected String[] | listTokenValues(String pattern, String token) |
void | publish(Artifact artifact, File src, boolean overwrite) |
protected void | put(Artifact artifact, File src, String dest, boolean overwrite) |
protected void | putChecksum(Artifact artifact, File src, String dest, boolean overwrite, String algorithm) |
void | setAlwaysCheckExactRevision(boolean alwaysCheckExactRevision) |
void | setName(String name) |
void | setRepository(Repository repository) |
void | setSettings(ResolverSettings settings) |
Parameters: repository the repository in which revisions should be located mrid the module revision id to look for (except revision) pattern the pattern to use to locate the revisions artifact the artifact to find
Returns: an array of ResolvedResource, all pointing to a different revision of the given Artifact.