projects/lcsim/trunk/job-manager/src/main/java/org/lcsim/job
--- 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.