Beispiel #1
0
 /// <summary>
 /// Constructs the status fetcher for one particular job id.
 /// </summary>
 /// <param name="jobId">job's id which state should be watched</param>
 public JobStateFetcher(JobId jobId)
 {
     JobId = jobId;
     PythonScriptWithFetcher = ConstructPythonScript(jobId);
     pythonScriptExecutor    = new PythonScriptsExecutor(PythonScriptWithFetcher);
 }
Beispiel #2
0
 /// <summary>
 /// Constructs the job remover for one particular job id.
 /// </summary>
 /// <param name="jobId">job's id which state should be removed</param>
 public JobRemover(JobId jobId)
 {
     JobId = jobId;
     PythonScriptWithRemover = ConstructPythonScript(jobId);
     pythonScriptExecutor    = new PythonScriptsExecutor(PythonScriptWithRemover);
 }