public interface OXTaskMgmtInterface
extends java.rmi.Remote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RMI_NAME
RMI name to be used in the naming lookup.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteJob(Context ctx,
Credentials auth,
int i)
This method is used to delete finished jobs (jobs != running) from the list
|
void |
flush(Context ctx,
Credentials auth)
Flushes all jobs from the queue which are finished ( != running)
|
java.lang.String |
getJob(Context ctx,
Credentials cred,
int jobId)
Gets the pretty printed job
|
java.lang.String |
getJobList(Context ctx,
Credentials cred)
Gets a pretty printed list of jobs
|
java.lang.Object |
getTaskResults(Context ctx,
Credentials cred,
int id)
Gets the result from the task with the specified id
|
static final java.lang.String RMI_NAME
java.lang.Object getTaskResults(Context ctx, Credentials cred, int id) throws java.rmi.RemoteException, InvalidCredentialsException, StorageException, java.lang.InterruptedException, java.util.concurrent.ExecutionException, InvalidDataException
ctx
- cred
- id
- java.rmi.RemoteException
InvalidCredentialsException
StorageException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
InvalidDataException
java.lang.String getJobList(Context ctx, Credentials cred) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException
ctx
- The optional contextcred
- The credentialsjava.rmi.RemoteException
InvalidDataException
StorageException
InvalidCredentialsException
java.lang.String getJob(Context ctx, Credentials cred, int jobId) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException
ctx
- The optional contextcred
- The credentialsjobId
- The job idjava.rmi.RemoteException
InvalidDataException
StorageException
InvalidCredentialsException
void deleteJob(Context ctx, Credentials auth, int i) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, TaskManagerException
ctx
- auth
- i
- java.rmi.RemoteException
InvalidDataException
InvalidCredentialsException
StorageException
TaskManagerException
void flush(Context ctx, Credentials auth) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, TaskManagerException
ctx
- auth
- java.rmi.RemoteException
InvalidDataException
InvalidCredentialsException
StorageException
TaskManagerException