| Constructor and Description |
|---|
SGEDriver() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildCheckEnvironmentCommand()
Build the command to check the environment state.
|
String |
buildCheckJobCommand(csbase.sga.executor.JobData jobData)
Build the command to check the information of a job.
|
String |
buildCheckJobListCommand(csbase.sga.executor.JobData[] jobDataList)
Build the command to check the information of a list of jobs in the
execution environment.
|
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) |
csbase.sga.monitor.SGAInfo |
parseCheckEnvironmentOutput(String output)
Parse the output of the command to check the environment.
|
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> |
parseCheckJobListOutput(csbase.sga.executor.JobData[] jobDataList,
String output)
Parse the output of the command to check a list of jobs in the execution
environment.
|
csbase.sga.executor.JobInfo |
parseCheckJobOutput(csbase.sga.executor.JobData jobData,
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 - script 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 buildCheckJobListCommand(csbase.sga.executor.JobData[] jobDataList)
buildCheckJobListCommand in interface SGADriverpublic csbase.sga.executor.JobData parseJobSubmissionOutput(String output)
parseJobSubmissionOutput in interface SGADriveroutput - the output to parseJobData representing the jobpublic csbase.sga.executor.JobInfo parseCheckJobOutput(csbase.sga.executor.JobData jobData,
String output)
parseCheckJobOutput in interface SGADriverjobData - the JobData representing the joboutput - the output to parseJobInfopublic Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckJobListOutput(csbase.sga.executor.JobData[] jobDataList, String output)
SGADriverparseCheckJobListOutput in interface SGADriverjobDataList - the array of JobData representing the jobsoutput - the output to parseJobData and the corresponding JobInfopublic String buildCheckEnvironmentCommand()
SGADriverbuildCheckEnvironmentCommand in interface SGADriverpublic csbase.sga.monitor.SGAInfo parseCheckEnvironmentOutput(String output)
SGADriverparseCheckEnvironmentOutput in interface SGADriveroutput - the output to parseSGAInfo containing the environment state.Copyright © 2016. All rights reserved.