Commit in projects/lcsim/trunk/job-manager/src/main/java/org/lcsim/job on MAIN | |||
JobControlManager.java | +11 | 3108 -> 3109 |
Add method for adding input files externally, e.g. for running JobControlManager from within a Java program.
--- projects/lcsim/trunk/job-manager/src/main/java/org/lcsim/job/JobControlManager.java 2014-05-07 18:54:53 UTC (rev 3108) +++ projects/lcsim/trunk/job-manager/src/main/java/org/lcsim/job/JobControlManager.java 2014-05-07 23:35:24 UTC (rev 3109) @@ -356,6 +356,17 @@
throw new RuntimeException("Duplicate variable definition: " + key); } }
+ + /** + * Add an input LCIO file to be proceesed. + * @param inputFile The input LCIO file. + */ + public void addInputFile(File inputFile) { + if (wasSetup) { + throw new RuntimeException("Input files cannot be added when manager has already been setup."); + } + inputFiles.add(inputFile); + }
/** * Execute a job using the current parameters.
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1