org.globus.exec.service.test.throughput.util
Class JobInformation

java.lang.Object
  extended by org.globus.exec.service.test.throughput.util.JobInformation

public class JobInformation
extends java.lang.Object

Holds information about a job on the client-side. The information stored in objects of this class depends on whether GramJob is used or not in a test.


Field Summary
private  boolean credentialsDestroyed
           
private  boolean destroyable
           
private  boolean destroyed
           
private  GramJob gramJobObject
           
private  org.globus.axis.message.addressing.EndpointReferenceType jobCredentialEndpoint
           
private  org.globus.axis.message.addressing.EndpointReferenceType stagingCredentialEndpoint
           
private  long startTime
           
private  StateEnumeration state
           
private  boolean terminated
           
 
Constructor Summary
JobInformation()
           
JobInformation(org.globus.axis.message.addressing.EndpointReferenceType jobCredentialEndpoint, org.globus.axis.message.addressing.EndpointReferenceType stagingCredentialEndpoint, StateEnumeration state, GramJob gramJobObject, long startTime)
           
 
Method Summary
 boolean checkAndSetCredentialsDestroyed()
           
 boolean checkAndSetDestroyed()
           
 boolean checkAndSetTerminated()
           
 GramJob getGramJobObject()
           
 org.globus.axis.message.addressing.EndpointReferenceType getJobCredentialEndpoint()
           
 org.globus.axis.message.addressing.EndpointReferenceType getStagingCredentialEndpoint()
           
 long getStartTime()
           
 StateEnumeration getState()
           
 boolean isCredentialsDestroyed()
           
 boolean isDestroyable()
           
 boolean isDestroyed()
           
 boolean isTerminated()
           
 void setDestroyable(boolean destroyable)
           
 void setGramJobObject(GramJob gramJobObject)
           
 void setJobCredentialEndpoint(org.globus.axis.message.addressing.EndpointReferenceType jobCredentialEndpoint)
           
 void setStagingCredentialEndpoint(org.globus.axis.message.addressing.EndpointReferenceType stagingCredentialEndpoint)
           
 void setStartTime(long startTime)
           
 void setState(StateEnumeration state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobCredentialEndpoint

private org.globus.axis.message.addressing.EndpointReferenceType jobCredentialEndpoint

stagingCredentialEndpoint

private org.globus.axis.message.addressing.EndpointReferenceType stagingCredentialEndpoint

state

private StateEnumeration state

gramJobObject

private GramJob gramJobObject

startTime

private long startTime

destroyable

private boolean destroyable

terminated

private boolean terminated

destroyed

private boolean destroyed

credentialsDestroyed

private boolean credentialsDestroyed
Constructor Detail

JobInformation

public JobInformation()

JobInformation

public JobInformation(org.globus.axis.message.addressing.EndpointReferenceType jobCredentialEndpoint,
                      org.globus.axis.message.addressing.EndpointReferenceType stagingCredentialEndpoint,
                      StateEnumeration state,
                      GramJob gramJobObject,
                      long startTime)
Method Detail

getJobCredentialEndpoint

public org.globus.axis.message.addressing.EndpointReferenceType getJobCredentialEndpoint()

setJobCredentialEndpoint

public void setJobCredentialEndpoint(org.globus.axis.message.addressing.EndpointReferenceType jobCredentialEndpoint)

getStagingCredentialEndpoint

public org.globus.axis.message.addressing.EndpointReferenceType getStagingCredentialEndpoint()

setStagingCredentialEndpoint

public void setStagingCredentialEndpoint(org.globus.axis.message.addressing.EndpointReferenceType stagingCredentialEndpoint)

getGramJobObject

public GramJob getGramJobObject()

setGramJobObject

public void setGramJobObject(GramJob gramJobObject)

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long startTime)

getState

public StateEnumeration getState()

setState

public void setState(StateEnumeration state)

isDestroyable

public boolean isDestroyable()

setDestroyable

public void setDestroyable(boolean destroyable)

isTerminated

public boolean isTerminated()

isDestroyed

public boolean isDestroyed()

isCredentialsDestroyed

public boolean isCredentialsDestroyed()

checkAndSetTerminated

public boolean checkAndSetTerminated()

checkAndSetDestroyed

public boolean checkAndSetDestroyed()

checkAndSetCredentialsDestroyed

public boolean checkAndSetCredentialsDestroyed()