public class SshResolver extends AbstractSshBasedResolver
DATE_FORMAT, DESCRIPTOR_OPTIONAL, DESCRIPTOR_REQUIRED
Constructor and Description |
---|
SshResolver() |
Modifier and Type | Method and Description |
---|---|
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.
|
setAllowedAgentUse, setHost, setKeyFile, setKeyFilePassword, setPassfile, setPort, setSettings, setUser, setUserPassword
download, dumpSettings, exist, findResourceUsingPattern, findTokenValues, get, getDestination, getRepository, getResource, isAlwaysCheckExactRevision, listResources, listTokenValues, publish, put, putChecksum, putSignature, setAlwaysCheckExactRevision, setName, setRepository, setSettings, setSigner
addArtifactPattern, addConfiguredArtifact, addConfiguredIvy, addIvyPattern, convertM2IdForResourceSearch, convertM2OrganizationForResourceSearch, convertM2ResourceSearchIdToNormal, convertM2TokenValuesForResourceSearch, findArtifactNames, findArtifactRef, findIvyFileRef, findIvyNames, findNames, findResource, findResourceUsingPatterns, getArtifactPatterns, getIvyPatterns, getModuleDescriptorExtension, isM2compatible, listTokenValues, setArtifactPatterns, setIvyPatterns, setM2compatible
acceptLatest, checkModuleDescriptorRevision, clearArtifactAttempts, clearIvyAttempts, doFindArtifactRef, download, exists, filterNames, findFirstArtifactRef, getAndCheck, getArtifactRef, getChecksumAlgorithms, getDefaultRMDParser, getDependency, getPublicationDate, getRMDParser, getWorkspaceName, isAllownomd, isCheckconsistency, isEnvDependent, isForce, listModules, listOrganisations, listRevisions, listTokenValues, locate, logArtifactAttempt, logAttempt, logIvyAttempt, parse, reportFailure, reportFailure, setAllownomd, setCheckconsistency, setChecksums, setDescriptor, setEnvDependent, setForce, setWorkspaceName, shouldReturnResolvedModule, toString
abortPublishTransaction, beginPublishTransaction, checkInterrupted, checkLatest, commitPublishTransaction, doValidate, findModuleInCache, findModuleInCache, fromSystem, fromSystem, getCacheDownloadOptions, getCacheOptions, getChangingMatcherName, getChangingPattern, getDownloadOptions, getEventManager, getLatest, getLatestStrategy, getName, getNamespace, getParserSettings, getRepositoryCacheManager, getSettings, getSystemNode, hidePassword, isAfter, isValidate, saveModuleRevisionIfNeeded, setCache, setChangingMatcher, setChangingPattern, setCheckmodified, setEventManager, setLatest, setLatestStrategy, setNamespace, setRepositoryCacheManager, setValidate, toSystem, toSystem, toSystem, toSystem, toSystem, toSystem, validate
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