uk.ac.soton.itinnovation.grid.comms.job
Class JobHelpers

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource<T>
      extended by uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteConversation<JobConversation>
          extended by uk.ac.soton.itinnovation.grid.comms.job.JobHelpers
All Implemented Interfaces:
Comparable<StorableInStateRepository>, Conversation, StorableInStateRepository

public class JobHelpers
extends BaseRemoteConversation<JobConversation>


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteConversation
log
 
Fields inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource
EPR, proxy, repository, serviceName, soapBinding, transport
 
Constructor Summary
JobHelpers()
           
 
Method Summary
 void addPolicyRule(PolicyRule rule)
           
 void addStagersFromJSDL(JobDescription jsdlJobDesc)
           
 void addStagersFromStatus(JobStatus status)
           
 JobStatus checkJob()
           
 void destroy()
           
 void finishJob()
           
 DataConversation[] getInputs()
           
 DataConversation[] getOutputs()
           
 PolicyRule[] getPolicyRules()
           
 String[] getValidRoles()
           
 DataConversation input(String name)
           
 DataConversation output(String name)
           
 void removePolicyRule(PolicyRule rule)
           
 boolean stillActive()
           
 boolean stillActive(JobStatus status)
           
 void submitJobJSDL()
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteConversation
assertNotFinished, compareTo, finish, getChildConversations, getContextID, getParentConversation, getService, initHelper, isFinished, outOfDate, setLabel, toString
 
Methods inherited from class uk.ac.soton.itinnovation.grid.comms.client.BaseRemoteResource
createMethod, equals, getDescription, getEndpoint, getEndpointRef, getInterface, getMethod, getParentURL, getRepository, getServiceName, getURL, getWSDL, hasMethod, invoke, invokeService, invokeService, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getInterface, getParentURL, getRepository, getURL, setDescription
 

Constructor Detail

JobHelpers

public JobHelpers()
Method Detail

checkJob

public JobStatus checkJob()
                   throws RemoteException
Throws:
RemoteException

addStagersFromJSDL

public void addStagersFromJSDL(JobDescription jsdlJobDesc)

addStagersFromStatus

public void addStagersFromStatus(JobStatus status)

finishJob

public void finishJob()
               throws RemoteException
Throws:
RemoteException

getInputs

public DataConversation[] getInputs()
                             throws RemoteException
Throws:
RemoteException

getOutputs

public DataConversation[] getOutputs()
                              throws RemoteException
Throws:
RemoteException

input

public DataConversation input(String name)
                       throws RemoteException,
                              NoSuchConversation
Throws:
RemoteException
NoSuchConversation

output

public DataConversation output(String name)
                        throws RemoteException,
                               NoSuchConversation
Throws:
RemoteException
NoSuchConversation

getPolicyRules

public PolicyRule[] getPolicyRules()
                            throws RemoteException
Throws:
RemoteException

addPolicyRule

public void addPolicyRule(PolicyRule rule)
                   throws RemoteException
Throws:
RemoteException

removePolicyRule

public void removePolicyRule(PolicyRule rule)
                      throws RemoteException
Throws:
RemoteException

getValidRoles

public String[] getValidRoles()
                       throws RemoteException
Throws:
RemoteException

destroy

public void destroy()
             throws RemoteException
Throws:
RemoteException

submitJobJSDL

public void submitJobJSDL()
                   throws RemoteException
Throws:
RemoteException

stillActive

public boolean stillActive()
                    throws RemoteException
Throws:
RemoteException

stillActive

public boolean stillActive(JobStatus status)
                    throws RemoteException
Throws:
RemoteException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.