Search in sources :

Example 1 with CommandLineCTDFile

use of com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile in project GenericKnimeNodes by genericworkflownodes.

the class BALLCommandGenerator method generateCommands.

@Override
public List<CommandLineElement> generateCommands(INodeConfiguration nodeConfiguration, IPluginConfiguration pluginConfiguration, File workingDirectory) throws Exception {
    File paramFile = writePARFile(nodeConfiguration, workingDirectory);
    List<CommandLineElement> commands = new ArrayList<CommandLineElement>();
    commands.add(new CommandLineFixedString(PAR_SWITCH));
    commands.add(new CommandLineCTDFile(paramFile));
    return commands;
}
Also used : CommandLineCTDFile(com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile) ArrayList(java.util.ArrayList) CommandLineFixedString(com.genericworkflownodes.knime.commandline.impl.CommandLineFixedString) CommandLineElement(com.genericworkflownodes.knime.commandline.CommandLineElement) CommandLineCTDFile(com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile) File(java.io.File)

Example 2 with CommandLineCTDFile

use of com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile in project GenericKnimeNodes by genericworkflownodes.

the class OpenMSCommandGenerator method generateCommands.

@Override
public List<CommandLineElement> generateCommands(INodeConfiguration nodeConfiguration, IPluginConfiguration pluginConfiguration, File workingDirectory) throws Exception {
    File iniFile = createINIFile(nodeConfiguration, workingDirectory);
    List<CommandLineElement> commands = new ArrayList<CommandLineElement>();
    commands.add(new CommandLineFixedString(INI_SWITCH));
    commands.add(new CommandLineCTDFile(iniFile));
    return commands;
}
Also used : CommandLineCTDFile(com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile) ArrayList(java.util.ArrayList) CommandLineFixedString(com.genericworkflownodes.knime.commandline.impl.CommandLineFixedString) CommandLineElement(com.genericworkflownodes.knime.commandline.CommandLineElement) CommandLineCTDFile(com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile) File(java.io.File)

Aggregations

CommandLineElement (com.genericworkflownodes.knime.commandline.CommandLineElement)2 CommandLineCTDFile (com.genericworkflownodes.knime.commandline.impl.CommandLineCTDFile)2 CommandLineFixedString (com.genericworkflownodes.knime.commandline.impl.CommandLineFixedString)2 File (java.io.File)2 ArrayList (java.util.ArrayList)2