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 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().booleanprocess()Must be overidden to implemnt concrete pipe procedure.Methods inherited from class 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:
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
-