# Uses of Class
org.globus.gram.GramJob

Packages that use GramJob
Package
Description
org.globus.gram
This library is a full implementation of the GRAM client API.

## Uses of GramJob in org.globus.gram

Subclasses of GramJob in org.globus.gram
Modifier and Type
Class
Description
`class`
`GramJobRun`
Methods in org.globus.gram that return GramJob
Modifier and Type
Method
Description
`protected GramJob`
CallbackHandler.`getJob(String url)`
Methods in org.globus.gram with parameters of type GramJob
Modifier and Type
Method
Description
`static void`
Gram.`cancel(GramJob job)`
This function cancels an already running job.
`static int`
Gram.`jobSignal(GramJob job, int signal, String arg)`
This function sends a signal to a job.
`static void`
Gram.`jobStatus(GramJob job)`
This function updates the status of a job (within the job object), and throws an exception if the status is not OK.
`void`
CallbackHandler.`registerJob(GramJob job)`
Registers gram job to listen for status updates
`static void`
Gram.`registerListener(GramJob job)`
This function registers the job for status updates.
`static void`
Gram.`registerListener(GramJob job, CallbackHandler handler)`
`static void`
Gram.`renew(GramJob job, GSSCredential newCred)`
Requests that a globus job manager accept newly delegated credentials.
`static void`
Gram.`renew(GramJob job, GSSCredential newCred, boolean limitedDelegation)`
Requests that a globus job manager accept newly delegated credentials.
`static void`
Gram.`request(String resourceManagerContact, GramJob job)`
Submits a GramJob to specified gatekeeper as an interactive job.
`static void`
Gram.`request(String resourceManagerContact, GramJob job, boolean batchJob)`
Submits a GramJob to specified gatekeeper as a interactive or batch job.
`static void`
Gram.`request(String resourceManagerContact, GramJob job, boolean batchJob, boolean limitedDelegation)`
Submits a GramJob to specified gatekeeper as a interactive or batch job.
`void`
GramJobListener.`statusChanged(GramJob job)`
This method is used to notify the implementer when the status of a GramJob has changed.
`void`
CallbackHandler.`unregisterJob(GramJob job)`
Unregisters gram job from listening to status updates
`static void`
Gram.`unregisterListener(GramJob job)`
This function unregisters the job from callback listener.
`static void`
Gram.`unregisterListener(GramJob job, CallbackHandler handler)`