Package net.simplace.pipe.processors
Class CopyFilesProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.CopyFilesProcessor
Copies files from ${sourcedir} to ${targetdir}. ${overwrite} can be set true|false.
${filter_extensions} or ${filter_names}, both comma-seperated,
can be used to filter the copied files.
Parameter | Description |
---|---|
sourcedir |
Sourcedir files taken from |
targetdir |
Target files put |
overwrite |
(optional) Flag, default to false |
modfilename |
(optional) Filename to modify the copied file. Use ${oldname} to reuse the old name |
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class net.simplace.pipe.control.FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Can be overridden to perform semantic checks on the pipeline Input.protected boolean
Can be overridden to perform semantic checks on the pipeline Input.boolean
process()
Must be overidden to implemnt concrete pipe procedure.Methods inherited from class net.simplace.pipe.control.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
-
CopyFilesProcessor
public CopyFilesProcessor()
-
-
Method Details
-
process
Must be overidden to implemnt concrete pipe procedure.- Specified by:
process
in classFWProcessor
- Returns:
- success
- Throws:
PipeLineException
-
checkInParameterMap
protected boolean checkInParameterMap()Description copied from class:FWProcessor
Can be overridden to perform semantic checks on the pipeline Input.- Overrides:
checkInParameterMap
in classFWProcessor
- Returns:
- true if not overridden by implementations
-
checkOutParameterMap
protected boolean checkOutParameterMap()Description copied from class:FWProcessor
Can be overridden to perform semantic checks on the pipeline Input.- Overrides:
checkOutParameterMap
in classFWProcessor
- Returns:
- true if not overridden
-