Class BaseTaskExtension
java.lang.Object
com.axemble.vdoc.sdk.packaging.extensions.BaseTaskExtension
- All Implemented Interfaces:
- com.axemble.vdoc.update.IUpdateServiceExtension
- Direct Known Subclasses:
- BaseImportMigrationExtension
public abstract class BaseTaskExtension
extends Object
implements com.axemble.vdoc.update.IUpdateServiceExtension
This class can be extended to create packaging classes that will be run on fresh install or migration
- Author:
- omenuel
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract voidprotected final FilegetConfigurationFile(String fileToImport) Get configuration fileprotected final IDirectoryModuleprotected final Loggerprotected final IPortalModuleprotected final IProjectModuleprotected final IWorkflowModulefinal voidrun()Method used to run extension for configuration screenfinal voidrun(Properties properties, Map<String, String> parameters, com.axemble.vdp.utils.ReportCollector report) protected voidCalled when server stops or server stops being a master nodefinal voidstop(Properties properties, Map<String, String> parameters, com.axemble.vdp.utils.ReportCollector report) 
- 
Field Details- 
reportCollectorprotected com.axemble.vdp.utils.ReportCollector reportCollector
 
- 
- 
Constructor Details- 
BaseTaskExtensionpublic BaseTaskExtension()
 
- 
- 
Method Details- 
runpublic final void run()Method used to run extension for configuration screen
- 
runpublic final void run(Properties properties, Map<String, String> parameters, com.axemble.vdp.utils.ReportCollector report) - Specified by:
- runin interface- com.axemble.vdoc.update.IUpdateServiceExtension
 
- 
execute- Throws:
- Exception
 
- 
stoppublic final void stop(Properties properties, Map<String, String> parameters, com.axemble.vdp.utils.ReportCollector report) - Specified by:
- stopin interface- com.axemble.vdoc.update.IUpdateServiceExtension
 
- 
stopCalled when server stops or server stops being a master node- Parameters:
- parameters-
- Throws:
- Exception
 
- 
getLogger
- 
getWorkflowModule- Returns:
- the workflowModule
 
- 
getPortalModule- Returns:
- the portalModule
 
- 
getDirectoryModule- Returns:
- the directoryModule
 
- 
getProjectModule- Returns:
- the projectModule
 
- 
getConfigurationFileGet configuration file- Parameters:
- fileToImport-
- Returns:
 
 
-