public class WorkflowZipper extends Object implements IConfigurable
IWorkflow matching the given
FileFilter. Marks directories and files which are unmatched for
deletion on exit of the virtual machine if configured.| Constructor and Description |
|---|
WorkflowZipper() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.commons.configuration.Configuration cfg) |
boolean |
isDeleteOnExit() |
boolean |
isZipWorkflow() |
boolean |
save(File f)
Saves the currently assigned workflow elements, matching currently
assigned FileFilter to File.
|
boolean |
save(File parentDir,
String filename) |
void |
setDeleteOnExit(boolean deleteOnExit) |
void |
setFileFilter(FileFilter fileFilter) |
void |
setFlatten(boolean flatten) |
void |
setIWorkflow(IWorkflow workflow) |
void |
setZipWorkflow(boolean zipWorkflow) |
public void configure(org.apache.commons.configuration.Configuration cfg)
configure in interface IConfigurablepublic boolean isDeleteOnExit()
public boolean isZipWorkflow()
public boolean save(File f)
f - public void setDeleteOnExit(boolean deleteOnExit)
deleteOnExit - the deleteOnExit to setpublic void setFileFilter(FileFilter fileFilter)
fileFilter - public void setIWorkflow(IWorkflow workflow)
workflow - public void setZipWorkflow(boolean zipWorkflow)
zipWorkflow - the zipWorkflow to setpublic void setFlatten(boolean flatten)
flatten - the flatten to setCopyright © 2007-2013. All Rights Reserved.