|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.plugins.ZipOutputPlugIn
public class ZipOutputPlugIn
The ZipOutputPlugIn handles zipping up the output from a curn run, if one or more email addresses are specified in the configuration file. It intercepts the following main ([curn]) section configuration parameter:
| ZipOutputTo | The path to the zip file to receive the output files. The zip file is overwritten if it exists. |
| Constructor Summary | |
|---|---|
ZipOutputPlugIn()
Default constructor (required). |
|
| Method Summary | |
|---|---|
java.lang.String |
getPlugInName()
Get a displayable name for the plug-in. |
java.lang.String |
getPlugInSortKey()
Get the sort key for this plug-in. |
void |
initPlugIn()
Initialize the plug-in. |
void |
runMainConfigItemPlugIn(java.lang.String sectionName,
java.lang.String paramName,
CurnConfig config)
Called immediately after curn has read and processed a configuration item in the main [curn] configuration section. |
void |
runPostOutputPlugIn(java.util.Collection<OutputHandler> outputHandlers)
Called after curn has flushed all output handlers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZipOutputPlugIn()
| Method Detail |
|---|
public java.lang.String getPlugInName()
getPlugInName in interface PlugInpublic java.lang.String getPlugInSortKey()
getPlugInSortKey in interface PlugIn
public void initPlugIn()
throws CurnException
initPlugIn in interface PlugInCurnException - on error
public void runMainConfigItemPlugIn(java.lang.String sectionName,
java.lang.String paramName,
CurnConfig config)
throws CurnException
runMainConfigItemPlugIn in interface MainConfigItemPlugInsectionName - the name of the configuration section where
the item was foundparamName - the name of the parameterconfig - the CurnConfig object
CurnException - on errorCurnConfig
public void runPostOutputPlugIn(java.util.Collection<OutputHandler> outputHandlers)
throws CurnException
runPostOutputPlugIn in interface PostOutputPlugInoutputHandlers - a Collection of the
OutputHandler objects (useful for
obtaining the output files, for instance).
CurnException - on errorOutputHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||