|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.plugins.resolver.AbstractResolver
org.apache.ivy.plugins.resolver.BasicResolver
org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver
org.apache.ivy.plugins.resolver.RepositoryResolver
org.apache.ivy.plugins.resolver.AbstractSshBasedResolver
org.apache.ivy.plugins.resolver.SshResolver
public class SshResolver
Resolver for SSH resolver for ivy
Field Summary |
---|
Fields inherited from class org.apache.ivy.plugins.resolver.BasicResolver |
---|
DATE_FORMAT, DESCRIPTOR_OPTIONAL, DESCRIPTOR_REQUIRED |
Constructor Summary | |
---|---|
SshResolver()
|
Method Summary | |
---|---|
java.lang.String |
getTypeName()
|
void |
setCreateDirCommand(java.lang.String cmd)
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" |
void |
setExistCommand(java.lang.String cmd)
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" |
void |
setFileSeparator(java.lang.String sep)
sets the path separator used on the target system. |
void |
setListCommand(java.lang.String cmd)
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. |
void |
setPublishPermissions(java.lang.String permissions)
A four digit string (e.g., 0644, see "man chmod", "man open") specifying the permissions of the published files. |
Methods inherited from class org.apache.ivy.plugins.resolver.AbstractSshBasedResolver |
---|
setHost, setKeyFile, setKeyFilePassword, setPassfile, setPort, setSettings, setUser, setUserPassword |
Methods inherited from class org.apache.ivy.plugins.resolver.RepositoryResolver |
---|
download, dumpSettings, exist, findResourceUsingPattern, findTokenValues, get, getDestination, getRepository, getResource, isAlwaysCheckExactRevision, listResources, listTokenValues, publish, put, putChecksum, putSignature, setAlwaysCheckExactRevision, setName, setRepository, setSettings, setSigner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SshResolver()
Method Detail |
---|
public void setPublishPermissions(java.lang.String permissions)
public void setFileSeparator(java.lang.String sep)
sep
- file separator to use on the target systempublic void setListCommand(java.lang.String cmd)
public void setExistCommand(java.lang.String cmd)
public void setCreateDirCommand(java.lang.String cmd)
public java.lang.String getTypeName()
getTypeName
in class AbstractSshBasedResolver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |