public static class TransferJobUtil.JobExecutor extends java.lang.Object implements JobHandler
JobHandler.Adapter, JobHandler.Builder| Constructor and Description |
|---|
JobExecutor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getFailureReason()
Returns the failure reason for the TransferJob if it failed
|
TransferHook |
getHook()
Gets the transfer hook containing the data for the TransferJob that was executed
|
void |
handleJob(DownloadAsJob job,
FileTransferMechanism client)
Handle job.
|
void |
handleJob(DownloadJob job,
FileTransferMechanism client)
Handle job.
|
void |
handleJob(RemoteUploadJob job,
FileTransferMechanism client)
Handle job.
|
void |
handleJob(UploadAsJob job,
FileTransferMechanism client)
Handle job.
|
void |
handleJob(UploadJob job,
FileTransferMechanism client)
Handle job.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic TransferHook getHook()
public java.lang.Exception getFailureReason()
public void handleJob(DownloadJob job, FileTransferMechanism client)
JobHandlerhandleJob in interface JobHandlerjob - the jobclient - the clientpublic void handleJob(UploadJob job, FileTransferMechanism client)
JobHandlerhandleJob in interface JobHandlerjob - the jobclient - the clientpublic void handleJob(RemoteUploadJob job, FileTransferMechanism client)
JobHandlerhandleJob in interface JobHandlerjob - the jobclient - the clientpublic void handleJob(UploadAsJob job, FileTransferMechanism client)
JobHandlerhandleJob in interface JobHandlerjob - the jobclient - the clientpublic void handleJob(DownloadAsJob job, FileTransferMechanism client)
JobHandlerhandleJob in interface JobHandlerjob - the jobclient - the client