Class DataTransferCallable
- java.lang.Object
-
- de.uplanet.lucy.server.datatrans.callable.DataTransferCallable
-
@VelocityCallable("singleton") public final class DataTransferCallable extends Object
-
-
Constructor Summary
Constructors Constructor Description DataTransferCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTransferJobListEntry[]
getConnections()
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.String
getJobMessages(String p_strGuid)
Returns the message for the job with the specified GUID.String
getLastJobMessage(String p_strJobDefinitionGuid)
Returns the message of the last job executed for the specified connection.void
startJob(String p_strGuid)
Starts the specified scheduler job.
-
-
-
Method Detail
-
getConnections
public 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
public String getLastJobMessage(String p_strJobDefinitionGuid) throws Exception
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
public String getJobMessages(String p_strGuid) throws Exception
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
public void startJob(String p_strGuid)
Starts the specified scheduler job.- Parameters:
p_strGuid
- The job GUID.
-
-