Class DataTransferCallable
java.lang.Object
de.uplanet.lucy.server.datatrans.callable.DataTransferCallable
Only used for old Datatransfer application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.datatrans.DataTransferJobListEntry[]
Returns the currently defined data transfer jobs.de.uplanet.lucy.scheduler.SchedulerJobExecution[]
getJobExecutions
(String p_strJobGuid) Returns the job history for the connection with the specified name.getJobMessages
(String p_strGuid) Returns the message for the job with the specified GUID.getLastJobMessage
(String p_strJobDefinitionGuid) Returns the message of the last job executed for the specified connection.void
Starts the specified scheduler job.
-
Constructor Details
-
DataTransferCallable
public DataTransferCallable()
-
-
Method Details
-
getConnections
public de.uplanet.lucy.datatrans.DataTransferJobListEntry[] getConnections()Returns the currently defined data transfer jobs.- Returns:
- A list of data transfer job enties.
-
getJobExecutions
public de.uplanet.lucy.scheduler.SchedulerJobExecution[] getJobExecutions(String p_strJobGuid) throws Exception Returns the job history for the connection with the specified name.- Parameters:
p_strJobGuid
- The job GUID.- Returns:
- The history as an array.
- Throws:
Exception
- If an error occurred.
-
getLastJobMessage
Returns the message of the last job executed for the specified connection.- Parameters:
p_strJobDefinitionGuid
- The job GUID.- Throws:
Exception
- If an error occurred.
-
getJobMessages
Returns the message for the job with the specified GUID.- Parameters:
p_strGuid
- The job execution GUID.- Returns:
- The message.
- Throws:
IOException
- If an I/O error occurred.Exception
-
startJob
Starts the specified scheduler job.- Parameters:
p_strGuid
- The job GUID.
-