|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.globus.gatekeeper.jobmanager
Interface JobManager
- All Known Implementing Classes:
- AbstractJobManager
- public interface JobManager
JobManager interface provides the common methods that is used by all extensions of JobManager
| Method Summary | |
void |
addJobStatusListener(JobStatusListener listener)
|
void |
cancel()
Cancels the job. |
GlobusProxy |
getCredentials()
|
int |
getFailureCode()
Retrieves the failure code of the running process. |
java.lang.String |
getID()
|
int |
getStatus()
Retrieves the current state of the process. |
java.util.Properties |
getSymbolTable()
|
void |
removeJobStatusListener(JobStatusListener listenter)
|
void |
removeJobStatusListenerByID(java.lang.String id)
|
void |
request(java.lang.String rsl)
|
void |
setCredentials(GlobusProxy credentials)
|
void |
setID(java.lang.String id)
|
void |
signal(int signal,
java.lang.String argument)
Sends a signal to the JobManager. |
| Method Detail |
setCredentials
public void setCredentials(GlobusProxy credentials)
getCredentials
public GlobusProxy getCredentials()
getID
public java.lang.String getID()
setID
public void setID(java.lang.String id)
getSymbolTable
public java.util.Properties getSymbolTable()
request
public void request(java.lang.String rsl)
throws JobManagerException
getStatus
public int getStatus()
- Retrieves the current state of the process.
- Returns:
- the current status value
getFailureCode
public int getFailureCode()
- Retrieves the failure code of the running process.
By default it is equal to zero
- Returns:
- the current failure code
cancel
public void cancel()
throws JobManagerException
- Cancels the job.
signal
public void signal(int signal,
java.lang.String argument)
throws JobManagerException
- Sends a signal to the JobManager.
addJobStatusListener
public void addJobStatusListener(JobStatusListener listener) throws JobManagerException
removeJobStatusListener
public void removeJobStatusListener(JobStatusListener listenter) throws JobManagerException
removeJobStatusListenerByID
public void removeJobStatusListenerByID(java.lang.String id)
throws JobManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||