Package net.simplace.pipe.processors
Klasse LoopParameterProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.control.FWLoopProcessor
net.simplace.pipe.processors.LoopParameterProcessor
Looping processors are running a given Pipeline ${PipeID} several times. The number of loops
is given by the central value (see parameterfilter). Loops are separated by default
(${separateLoops} (TRUE|FALSE)). For non separated loops all parameter values created in the
pipeline process are written to parameter map.
Within the looped pipeline you can finde the total run count ${runCount} and the run count ${Count}
This looping processor takes the parameter map and checks for the regex to check the given parameter
keys, if it should be looped in the given
pipeline. Additionally to Count and runCount you can find the actual looplistentry in
parametername: "${PipeID}.loop",
further parameter: ${startIndex} gives the first index of ${Count}-Parameter in looping pipeline.
- Autor:
- Andreas Enders
-
Feldübersicht
Von Klasse geerbte Felder net.simplace.pipe.control.FWLoopProcessor
iLoopCount, iLoopMap, iLoopPipeId, iSeparateRunsVon Klasse geerbte Felder net.simplace.pipe.control.FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanCan be overridden to perform semantic checks on the pipeline Input.protected booleanCan be overridden to perform semantic checks on the pipeline Input.voidbooleanprocess()Must be overidden to implemnt concrete pipe procedure.Von Klasse geerbte Methoden net.simplace.pipe.control.FWLoopProcessor
clone, getLoopCount, getLoopMap, getLoopPipeID, interveneRunLoop, runLoopVon Klasse geerbte Methoden net.simplace.pipe.control.FWProcessor
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
-
Konstruktordetails
-
LoopParameterProcessor
public LoopParameterProcessor()
-
-
Methodendetails
-
process
Must be overidden to implemnt concrete pipe procedure.- Angegeben von:
processin KlasseFWProcessor- Gibt zurück:
- success
- Löst aus:
PipeLineException
-
checkInParameterMap
protected boolean checkInParameterMap()Beschreibung aus Klasse kopiert:FWProcessorCan be overridden to perform semantic checks on the pipeline Input.- Setzt außer Kraft:
checkInParameterMapin KlasseFWLoopProcessor- Gibt zurück:
- true if not overridden by implementations
-
checkOutParameterMap
protected boolean checkOutParameterMap()Beschreibung aus Klasse kopiert:FWProcessorCan be overridden to perform semantic checks on the pipeline Input.- Setzt außer Kraft:
checkOutParameterMapin KlasseFWLoopProcessor- Gibt zurück:
- true if not overridden
-
initLoop
- Setzt außer Kraft:
initLoopin KlasseFWLoopProcessor- Parameter:
aParameterMap-
-