|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.BatchExecutor
public final class BatchExecutor
Simple utility class that takes a workflow, either in a directory or zipped into a single file, executes it and saves the results in the end. If the input was a ZIP file the workflow is zipped back into a file.
| Method Summary | |
|---|---|
static String |
getOptionsString()
|
static String |
getPropertiesString()
|
static void |
main(String[] args)
Main method. |
static int |
mainRun(String[] args)
Called from main(String[]) method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getOptionsString()
public static String getPropertiesString()
public static void main(String[] args)
throws IOException,
InvalidSettingsException,
CanceledExecutionException
args - a workflow directory or a zip input and output file
IOException - Delegated from WFM
CanceledExecutionException - Delegated from WFM
InvalidSettingsException - Delegated from WFM
public static int mainRun(String[] args)
throws IOException,
InvalidSettingsException,
CanceledExecutionException
main(String[]) method. It parses the command line
and starts up KNIME. It returns 0 if the execution was run (even with
errors) and 1 if the command line could not be parsed (e.g. usage was
printed).
args - Command line arguments
IOException - Delegated from WFM
InvalidSettingsException - Delegated from WFM
CanceledExecutionException - Delegated from WFM
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||