| 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 org.apache.ivy.plugins.resolver.AbstractSshBasedResolver org.apache.ivy.plugins.resolver.SshResolver
SshResolver | public SshResolver()(Code) | | |
setCreateDirCommand | public void setCreateDirCommand(String cmd)(Code) | | set the command to create a directory on the target system the command has to be a shell
command working on the target system and has to create a directory with the given argument
the term %arg can be used in the command to substitue the path to be listed if %arg is not
part of the command, the path will be appended to the command default is: "mkdir"
|
setExistCommand | public void setExistCommand(String cmd)(Code) | | set the command to check for existence of a file the command has to be a shell command
working on the target system and has to create an exit status of 0 for an existent file
and <> 0 for a non existing file given as argument the term %arg can be used in the command
to substitue the path to be listed if %arg is not part of the command, the path will be
appended to the command default is: "ls"
|
setFileSeparator | public void setFileSeparator(String sep)(Code) | | sets the path separator used on the target system. Not sure if this is used or if '/' is used
on all implementation. default is to use '/'
Parameters: sep - file separator to use on the target system |
setListCommand | public void setListCommand(String cmd)(Code) | | set the command to get a directory listing the command has to be a shell command working on
the target system and has to produce a listing of filenames, with each filename on a new line
the term %arg can be used in the command to substitue the path to be listed
(e.g. "ls -1 %arg | grep -v CVS" to get a listing without CVS directory) if %arg is not
part of the command, the path will be appended to the command default is: "ls -1"
|
Methods inherited from org.apache.ivy.plugins.resolver.RepositoryResolver | public DownloadReport download(Artifact[] artifacts, DownloadOptions options)(Code)(Java Doc) public void dumpSettings()(Code)(Java Doc) protected ResolvedResource findResourceUsingPattern(ModuleRevisionId mrid, String pattern, Artifact artifact, ResourceMDParser rmdparser, Date date)(Code)(Java Doc) public ResolvedResource findResourceUsingPattern(String name, Repository repository, LatestStrategy strategy, VersionMatcher versionMatcher, ResourceMDParser rmdparser, ModuleRevisionId mrid, String pattern, Artifact artifact, Date date, boolean alwaysCheckExactRevision)(Code)(Java Doc) protected void findTokenValues(Collection names, List patterns, Map tokenValues, String token)(Code)(Java Doc) protected long get(Resource resource, File dest) throws IOException(Code)(Java Doc) protected String getDestination(String pattern, Artifact artifact, ModuleRevisionId mrid)(Code)(Java Doc) public Repository getRepository()(Code)(Java Doc) public String getTypeName()(Code)(Java Doc) public boolean isAlwaysCheckExactRevision()(Code)(Java Doc) protected ResolvedResource[] listResources(Repository repository, ModuleRevisionId mrid, String pattern, Artifact artifact)(Code)(Java Doc) public void publish(Artifact artifact, File src, boolean overwrite) throws IOException(Code)(Java Doc) public void setAlwaysCheckExactRevision(boolean alwaysCheckExactRevision)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setRepository(Repository repository)(Code)(Java Doc) public void setSettings(ResolverSettings settings)(Code)(Java Doc)
|
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)
|
|
|