public abstract class AbstractSshBasedResolver extends RepositoryResolver
DATE_FORMAT, DESCRIPTOR_OPTIONAL, DESCRIPTOR_REQUIRED
Constructor and Description |
---|
AbstractSshBasedResolver() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getTypeName() |
void |
setAllowedAgentUse(boolean allowedAgentUse)
Determines whether a local SSH agent may be used for authentication
|
void |
setHost(java.lang.String host)
sets the host to use for the ssh communication the host can also be set by using a full url
for the pattern, like "ssh://myserver.com/path/to/repos/[artifact].[ext]"
|
void |
setKeyFile(java.io.File filePath)
Sets the location of the Public Key file to use for authentication
|
void |
setKeyFilePassword(java.lang.String password)
Sets the password to use for decrypting key file (if it is encrypted) if no password is set
and the keyfile is encrypted, the user will be prompted for the password if the keyfile is
passwordless, this parameter will be ignored if given
|
void |
setPassfile(java.io.File passfile)
Optional password file.
|
void |
setPort(int port)
sets the port to use for the ssh communication port 22 is default the port can also be set by
using a full url for the pattern, like
"sftp://myserver.com:8022/path/to/repos/[artifact].[ext]"
|
void |
setSettings(IvySettings settings) |
void |
setUser(java.lang.String user)
sets the user to use for the ssh communication the user can also be set by using a full url
for the pattern, like "ssh://user@myserver.com/path/to/repos/[artifact].[ext]"
|
void |
setUserPassword(java.lang.String password)
Sets the password to authenticate the user if password based login is used if no password is
set and password based login is used, user will be prompted for it the password can also be
set by using a full url for the pattern, like
"sftp://user:password@myserver.com/path/to/repos/[artifact].[ext]"
|
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 setKeyFile(java.io.File filePath)
filePath
- full file path namepublic void setAllowedAgentUse(boolean allowedAgentUse)
allowedAgentUse
- true if an agent may be used if availablepublic void setPassfile(java.io.File passfile)
public void setSettings(IvySettings settings)
public void setUserPassword(java.lang.String password)
password
- to usepublic void setKeyFilePassword(java.lang.String password)
password
- to usepublic void setUser(java.lang.String user)
user
- on the target systempublic void setHost(java.lang.String host)
host
- of the target systempublic void setPort(int port)
port
- of the target systempublic abstract java.lang.String getTypeName()
getTypeName
in class RepositoryResolver