Class MoveFileProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.MoveFileProcessor
Moves files from ${sourcefile} to ${targetfile}. ${overwrite} can be set true|false.
| Parameter | Description |
|---|---|
sourcefile |
Source file |
targetfile |
Target file |
overwrite |
(optional) Flag, default to false |
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCan be overridden to perform semantic checks on the input parameters beforeFWProcessor.process().protected booleanCan be overridden to perform semantic checks on the output afterFWProcessor.process().booleanprocess()Must be overidden to implemnt concrete pipe procedure.Methods inherited from class FWProcessor
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
-
MoveFileProcessor
public MoveFileProcessor()
-
-
Method Details
-
process
Must be overidden to implemnt concrete pipe procedure.- Specified by:
processin classFWProcessor- Returns:
trueon success;falsemakesFWProcessor.pipe(FWObservable, Integer)fail- Throws:
PipeLineException- if processing fails
-
checkInParameterMap
protected boolean checkInParameterMap()Description copied from class:FWProcessorCan be overridden to perform semantic checks on the input parameters beforeFWProcessor.process().- Overrides:
checkInParameterMapin classFWProcessor- Returns:
trueif the input is valid; the default returnstrue
-
checkOutParameterMap
protected boolean checkOutParameterMap()Description copied from class:FWProcessorCan be overridden to perform semantic checks on the output afterFWProcessor.process().- Overrides:
checkOutParameterMapin classFWProcessor- Returns:
trueif the output is valid; the default returnstrue
-