| 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.
|
void init(Properties properties)
String buildSubmitJobCommand(String script, Map<String,String> extraParam)
script - script to executeextraParam - extra parameters to the execution environmentcsbase.sga.executor.JobData parseJobSubmissionOutput(String output)
output - the output to parseJobData representing the jobString buildCheckJobCommand(csbase.sga.executor.JobData jobData)
jobData - the JobData representing the jobcsbase.sga.executor.JobInfo parseCheckJobOutput(csbase.sga.executor.JobData jobData,
String output)
jobData - the JobData representing the joboutput - the output to parseJobInfoString buildCheckJobListCommand(csbase.sga.executor.JobData[] jobDataList)
Map<csbase.sga.executor.JobData,csbase.sga.executor.JobInfo> parseCheckJobListOutput(csbase.sga.executor.JobData[] jobDataList, String output)
jobDataList - the array of JobData representing the jobsoutput - the output to parseJobData and the corresponding JobInfoString buildKillJobCommand(csbase.sga.executor.JobData jobData)
jobData - the JobData representing the jobString buildCheckEnvironmentCommand()
csbase.sga.monitor.SGAInfo parseCheckEnvironmentOutput(String output)
output - the output to parseSGAInfo containing the environment state.Copyright © 2016. All rights reserved.