|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taleo.integration.client.step.BaseStep
com.taleo.integration.client.step.BaseCustomStep
com.taleo.integration.client.customstep.BaseCustomStep
com.taleo.integration.client.customstep.ftp.DownloadFtpStep
com.taleo.integration.client.customstep.ftp.DownloadSftpStep
public class DownloadSftpStep
Processing step to download a file from an SFTP server and make it the current file in the pipeline.
This step takes all parameters from its base class
DownloadFtpStep
and
the following additional parameters:
This class is dependent on:
Here are two examples of how to define this custom step in the TCC configuration file:
Field Summary |
---|
Fields inherited from class com.taleo.integration.client.customstep.ftp.DownloadFtpStep |
---|
filename, host, nbRetries, password, port, remoteDirectory, retryFactor, retryInterval, username |
Fields inherited from class com.taleo.integration.client.customstep.BaseCustomStep |
---|
parameterNames |
Fields inherited from class com.taleo.integration.client.step.BaseCustomStep |
---|
parameters |
Fields inherited from class com.taleo.integration.client.step.BaseStep |
---|
commType, ERROR_NULL_GLOBAL_CONFIG, ERROR_NULL_PIPELINE, ERROR_NULL_STEP_CONFIG, productCode, tempFolder, type, version |
Constructor Summary | |
---|---|
DownloadSftpStep()
Constructor without arguments. |
Method Summary | |
---|---|
void |
download(File localFile)
Download the file from the SFTP server and put the result in the specified local file. |
String |
getDescription()
|
String |
getIdentifier()
|
String |
getName()
|
String |
getPassphrase()
Get the passphrase. |
String |
getPrivateKey()
Get the private key. |
void |
init(com.taleo.ws.integration.client.GlobalConfig config)
|
void |
setPassphrase(String passphrase)
Set the passphrase. |
void |
setPrivateKey(String privateKey)
Set the private key. |
Methods inherited from class com.taleo.integration.client.customstep.ftp.DownloadFtpStep |
---|
execute, getFilename, getHost, getNbRetries, getPassword, getPort, getRemoteDirectory, getRetryFactor, getRetryInterval, getUsername, setFilename, setHost, setNbRetries, setPassword, setPort, setRemoteDirectory, setRetryFactor, setRetryInterval, setUsername |
Methods inherited from class com.taleo.integration.client.customstep.BaseCustomStep |
---|
getEncoding, isActive, registerParameterName, setActive, setEncoding, validateParameterNames |
Methods inherited from class com.taleo.integration.client.step.BaseCustomStep |
---|
getSupportedPipeline, getType, init |
Methods inherited from class com.taleo.integration.client.step.BaseStep |
---|
getAllProcessSupportPipeline, getCurrentFile, getCurrentFile, getCurrentMessage, getPostProcessSupportPipeline, getPreProcessSupportPipeline, validateLastStepType, validateMessageType, validatePipeline |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.taleo.integration.client.step.Step |
---|
validatePipeline |
Constructor Detail |
---|
public DownloadSftpStep()
Method Detail |
---|
public String getIdentifier()
getIdentifier
in interface com.taleo.integration.client.step.CustomStep
getIdentifier
in interface com.taleo.integration.client.step.Step
getIdentifier
in class DownloadFtpStep
public String getDescription()
getDescription
in interface com.taleo.integration.client.step.CustomStep
getDescription
in interface com.taleo.integration.client.step.Step
getDescription
in class DownloadFtpStep
public String getName()
getName
in interface com.taleo.integration.client.step.CustomStep
getName
in interface com.taleo.integration.client.step.Step
getName
in class DownloadFtpStep
public String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey
- public String getPassphrase()
public void setPassphrase(String passphrase)
passphrase
- public void init(com.taleo.ws.integration.client.GlobalConfig config)
init
in class DownloadFtpStep
public void download(File localFile) throws Exception
download
in class DownloadFtpStep
localFile
- The local file to contain the downloaded data.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |