Class RunAppProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.RunAppProcessor
starts application in given working directory. App is ontrolled by processbuilder,
which uses Input- and Outputstream to communicate.
| Parameter | Description |
|---|---|
application |
name of appliction to run |
workingdir |
working directory |
ouputlines |
Number of lines that are outputted. With this info the progressbar is updated |
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess()Must be overridden to implement the concrete processing step.Methods inherited from class FWProcessor
checkInParameterMap, checkOutParameterMap, clone, containsParameter, createProcessor, createProcessor, fireTaskEvent, getAllStringInParameters, getConfiguration, getInitialParameters, getInParameter, getInParameter, getInParameters, getNewProgressTask, getOutParameter, getOutParameterKeys, getPipeLine, getProgressTask, getStringInParameter, getStringInParameter, getSystemID, hasConfiguration, isEndOfPipe, pipe, removeOutParameter, setConfiguration, setEndOfPipeFlag, setInitialParameters, setInParameterMap, setLoopedCount, setOutParameter, setStateOfTask, setStateProgressing, toXML
-
Constructor Details
-
RunAppProcessor
public RunAppProcessor()
-
-
Method Details
-
process
Description copied from class:FWProcessorMust be overridden to implement the concrete processing step. Reads from the in parameters and writes results withFWProcessor.setOutParameter(String, Object).- Specified by:
processin classFWProcessor- Returns:
trueon success;falsemakesFWProcessor.pipe(FWObservable, Integer)fail- Throws:
PipeLineException- if processing fails
-