|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobConversation
A JobConversation represents a job on a remote machine.
A job allows running a remote application, and has a number of
DataConversations as its inputs and outputs.
| Field Summary | |
|---|---|
static String |
IO_TYPE_INPUT
Value for IO_TYPE_METADATA for job inputs. |
static QName |
IO_TYPE_METADATA
Name of EPR meta-data element indicating whether a stager is a job input or output. |
static String |
IO_TYPE_OUTPUT
Value for IO_TYPE_METADATA for job outputs. |
static String |
JOB_RESOURCE_TYPE
Deprecated. - use JobResource.JOB_RESOURCE_TYPE |
| Method Summary | |
|---|---|
void |
addStagersFromJSDL(JobDescription jsdlJobDesc)
Add each input or output in status to our internal cache. |
void |
addStagersFromStatus(JobStatus status)
Add each input or output in status to our internal cache. |
DataConversation[] |
getInputs()
Returns the job's input stagers, in order. |
DataConversation[] |
getOutputs()
Returns the job's output stagers, in order. |
DataConversation |
input(String name)
Get the named input conversation. |
DataConversation |
output(String name)
Get the named output conversation. |
boolean |
stillActive()
Tests whether the job is running (or queued). |
boolean |
stillActive(JobStatus status)
Like stillActive(), but takes the status returned by checkJob as input instead of performing checkJob operation itself. |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.Conversation |
|---|
getService |
| Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository |
|---|
getDescription, getEndpointRef, getURL, setDescription |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.job.JobResource |
|---|
cancelJob, checkJob, finishJob, getJSDL, startJob, submitJob, submitJobJSDL |
| Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement |
|---|
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule |
| Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata |
|---|
getEPR, setLabel |
| Methods inherited from interface uk.ac.soton.itinnovation.grid.types.IdentifiableResource |
|---|
getServiceMatchPattern |
| Methods inherited from interface uk.ac.soton.itinnovation.grid.types.Signallable |
|---|
getAvailableSignals, signal |
| Field Detail |
|---|
static final QName IO_TYPE_METADATA
static final String IO_TYPE_INPUT
IO_TYPE_METADATA for job inputs.
static final String IO_TYPE_OUTPUT
IO_TYPE_METADATA for job outputs.
@Deprecated static final String JOB_RESOURCE_TYPE
JobResource.JOB_RESOURCE_TYPE| Method Detail |
|---|
boolean stillActive()
throws RemoteException
JobResource.checkJob() method.
RemoteExceptionboolean stillActive(JobStatus status)
DataConversation[] getInputs()
throws RemoteException
RemoteException
DataConversation[] getOutputs()
throws RemoteException
RemoteException
DataConversation input(String name)
throws RemoteException,
NoSuchConversation
NoSuchConversation - if no stager with this name is known
RemoteException
DataConversation output(String name)
throws RemoteException,
NoSuchConversation
NoSuchConversation - if no stager with this name is known
RemoteExceptionvoid addStagersFromStatus(JobStatus status)
void addStagersFromJSDL(JobDescription jsdlJobDesc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||