Package net.simplace.pipe.processors
Class UnzipFolderProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.UnzipFolderProcessor
unzips a ${sourcezipfile} taken from the class path to ${targetdir}.
Parameter | Description |
---|---|
sourcezipfile |
Path to the sourcezipfile |
targetdir |
Path to directory to place the unpacked files in. |
folderversion |
(optional) if used the folderversion of available unzipped files are used. - if folderversion is same - nothing to do (1.0 = 1.0) - if folderversion is same main but different subversion - user is asked (1.0 != 1.1) - if folderversion is other main folder is unpacked again without request. - if no folderversion was given before folderversion ist treated as to be 0. |
- 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.boolean
process()
Must be overidden to implemnt concrete pipe procedure.Methods inherited from class net.simplace.pipe.control.FWProcessor
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
-
UnzipFolderProcessor
public UnzipFolderProcessor()
-
-
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
-