| Constructor and Description |
|---|
SGEDriver() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildCheckAllJobsCommand()
Build the command to check the information of all jobs in the execution
environment.
|
String |
buildCheckEnvironmentCommand() |
String |
buildCheckJobCommand(csbase.sga.executor.JobData jobData)
Build the command to check the information of a job.
|
String |
buildKillJobCommand(csbase.sga.executor.JobData jobData)
Build the command to kill a job in the execution environment.
|
String |
buildSubmitJobCommand(String script,
Map<String,String> extraParam)
Build the command to submit a job in the execution environment.
|
void |
init(Properties properties) |
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> |
parseCheckAllJobsOutput(String output)
Parse the output of the command to check all jobs in the execution environment.
|
csbase.sga.monitor.SGAInfo |
parseCheckEnvironmentOutput(String output) |
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> |
parseCheckJobOutput(String output)
Parse the output of the command to check one job in the execution environment.
|
csbase.sga.executor.JobData |
parseJobSubmissionOutput(String output)
Parse the output of the command to submit a job in the execution
environment.
|
public void init(Properties properties)
public String buildSubmitJobCommand(String script, Map<String,String> extraParam)
buildSubmitJobCommand in interface SGADriverscript - scritp to executeextraParam - extra parameters to the execution environmentpublic String buildKillJobCommand(csbase.sga.executor.JobData jobData)
buildKillJobCommand in interface SGADriverjobData - the JobData representing the jobpublic String buildCheckJobCommand(csbase.sga.executor.JobData jobData)
buildCheckJobCommand in interface SGADriverjobData - the JobData representing the jobpublic String buildCheckAllJobsCommand()
buildCheckAllJobsCommand in interface SGADriverpublic csbase.sga.executor.JobData parseJobSubmissionOutput(String output)
parseJobSubmissionOutput in interface SGADriveroutput - the output to parseJobData representing the jobpublic Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckJobOutput(String output)
parseCheckJobOutput in interface SGADriveroutput - the output to parseJobData and the corresponding JobInfopublic Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckAllJobsOutput(String output)
SGADriverparseCheckAllJobsOutput in interface SGADriveroutput - the output to parseJobData and the corresponding JobInfopublic String buildCheckEnvironmentCommand()
buildCheckEnvironmentCommand in interface SGADriverpublic csbase.sga.monitor.SGAInfo parseCheckEnvironmentOutput(String output)
parseCheckEnvironmentOutput in interface SGADriverCopyright © 2016. All rights reserved.