|
||||||||||
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.UploadFtpPostStep
com.taleo.integration.client.customstep.ftp.UploadSftpPostStep
public class UploadSftpPostStep
Post-processing step to upload the current workflow file on an SFTP server.
This step takes all parameters from its base class
UploadFtpPostStep
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.UploadFtpPostStep |
---|
config, failOnError, 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 | |
---|---|
UploadSftpPostStep()
Deprecated. Constructor without arguments. |
Method Summary | |
---|---|
String |
getDescription()
Deprecated. |
String |
getIdentifier()
Deprecated. |
String |
getName()
Deprecated. |
String |
getPassphrase()
Deprecated. Get the passphrase. |
String |
getPrivateKey()
Deprecated. Get the private key. |
void |
init(com.taleo.ws.integration.client.GlobalConfig config)
Deprecated. |
void |
setPassphrase(String passphrase)
Deprecated. Set the passphrase. |
void |
setPrivateKey(String privateKey)
Deprecated. Set the private key. |
void |
upload(File file,
String targetFilename)
Deprecated. Execute the step by sending the file over to the SFTP server. |
Methods inherited from class com.taleo.integration.client.customstep.ftp.UploadFtpPostStep |
---|
execute, getFilename, getHost, getNbRetries, getPassword, getPort, getRemoteDirectory, getRetryFactor, getRetryInterval, getUsername, isFailOnError, setFailOnError, 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 UploadSftpPostStep()
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 UploadFtpPostStep
public String getDescription()
getDescription
in interface com.taleo.integration.client.step.CustomStep
getDescription
in interface com.taleo.integration.client.step.Step
getDescription
in class UploadFtpPostStep
public String getName()
getName
in interface com.taleo.integration.client.step.CustomStep
getName
in interface com.taleo.integration.client.step.Step
getName
in class UploadFtpPostStep
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 UploadFtpPostStep
public void upload(File file, String targetFilename) throws Exception
upload
in class UploadFtpPostStep
file
- The file to upload.targetFilename
- The target file name.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |