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

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.proxy.AbstractProxyHelpers<T>
      extended by uk.ac.soton.itinnovation.grid.client.proxy.LegacyProxyHelpers<JobResource>
          extended by uk.ac.soton.itinnovation.grid.comms.job.JobHelpers
All Implemented Interfaces:
Comparable<StorableInStateRepository>, Conversation, StorableInStateRepository, ProxyHelpers, WebProxy

@RawProxyInterface(value=JobResource.class)
public class JobHelpers
extends LegacyProxyHelpers<JobResource>


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.client.proxy.AbstractProxyHelpers
helperProxyFactory, log, rawProxy, target, 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()
           
protected  Class<RemoteJobService> getServiceIface()
           
 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.client.proxy.LegacyProxyHelpers
compareTo, createMatchPattern, createMatchRule, getClientMatchPattern, getDescription, getEndpoint, getEndpointRef, getOwnerRule, getService, getServiceMatchPattern, getURL, setDescription, setLabel, toString
 
Methods inherited from class uk.ac.soton.itinnovation.grid.client.proxy.AbstractProxyHelpers
initProxyHelpers, proxyGetInvocationEngine, proxyGetRemoteMethod, proxyGetTarget, proxyHasMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

getServiceIface

protected Class<RemoteJobService> getServiceIface()
Overrides:
getServiceIface in class LegacyProxyHelpers<JobResource>


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