|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHWMJobManager
Method Summary | |
---|---|
void |
AddJobListener(IHWMJobListener listener,
IHWMJob hwmJob)
This method adds the specified listener in order to get call back events from the specified job. |
IHWMJob |
CreateJobInstance()
This method creates an instance of IHWMJob without a GUI This mode is primarily used for creating a default job in to which different parameters can be set through APIs available in IHWMJob. |
IHWMJob |
CreateJobInstanceWithDialog()
This method creates an instance of IHWMJob with parameters set in a GUI dialog. |
void |
DownloadResults(java.lang.String strJobID,
java.io.File fileDestDir)
This method downloads the result files for the job identified by the specified JobID to the specified directory. |
IHWMJob |
GetJobInstance(java.lang.String strJobID)
This method returns the IHWMJob instance held by IHWMJobManager against the specified JobID. |
IHWMJobStatus |
GetJobStatus(IHWMJob hwmJob)
This method returns the status of the specified job as an instance of IHWMJobStatus. |
IHWMJobStatus |
GetJobStatus(java.lang.String strJobStatus)
This is a utility method to convert a String strJobStatus in to an instance of IHWMJobStatus. |
boolean |
LoginToJobSubmissionSystem()
Login into the job submission system using no arguments In this case the login gui will pop up |
boolean |
LoginToJobSubmissionSystem(java.lang.String strLoginName,
java.lang.String strPasswd)
Login into the job submission system using specified login name and passwd |
void |
RemoveListener(IHWMJobListener listener,
IHWMJob hwmJob)
This method removes the specified listener in order to stop getting call back events from the specified job. |
java.lang.String |
SubmitJob(IHWMJob job)
This method submits the specified job for computation. |
Method Detail |
---|
boolean LoginToJobSubmissionSystem(java.lang.String strLoginName, java.lang.String strPasswd) throws java.lang.Exception
strLoginName
- Thelogin name for job submission systemstrPasswd
- The password for job submission system.
java.lang.Exception
boolean LoginToJobSubmissionSystem() throws java.lang.Exception
java.lang.Exception
java.lang.String SubmitJob(IHWMJob job) throws java.lang.Exception
job
- The IHWMJob instance representing the job to be processed.
java.lang.Exception
IHWMJob CreateJobInstance() throws java.lang.Exception
java.lang.Exception
IHWMJob CreateJobInstanceWithDialog() throws java.lang.Exception
java.lang.Exception
IHWMJob GetJobInstance(java.lang.String strJobID) throws java.lang.Exception
strJobID
- The JobID corresponding to which the IHWMJob instance
is required.
java.lang.Exception
void AddJobListener(IHWMJobListener listener, IHWMJob hwmJob)
listener
- The listener to be added.hwmJob
- The job instance whose event call backs have to be
listened for.void RemoveListener(IHWMJobListener listener, IHWMJob hwmJob)
listener
- The listener to be removed.hwmJob
- The job instance whose event call backs have to be stopped
being listened for.void DownloadResults(java.lang.String strJobID, java.io.File fileDestDir) throws java.lang.Exception
strJobID
- The JOBID to identify the job whose results have to be
retrieved.fileDestDir
- The destination directory to retrieve files.
java.lang.Exception
IHWMJobStatus GetJobStatus(IHWMJob hwmJob) throws java.lang.Exception
hwmJob
- The IHWMJob instance whose status is required.
java.lang.Exception
IHWMJobStatus GetJobStatus(java.lang.String strJobStatus) throws java.lang.Exception
strJobStatus
- A string representation of the jobstatus.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |