public abstract class BaseTaskExtension extends Object implements com.axemble.vdoc.update.IUpdateServiceExtension
Modifier and Type | Field and Description |
---|---|
protected com.axemble.vdp.utils.ReportCollector |
reportCollector |
Constructor and Description |
---|
BaseTaskExtension() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
execute(Map<String,String> parameters) |
protected File |
getConfigurationFile(String fileToImport)
Get configuration file
|
protected IDirectoryModule |
getDirectoryModule() |
protected Logger |
getLogger() |
protected IPortalModule |
getPortalModule() |
protected IProjectModule |
getProjectModule() |
protected IWorkflowModule |
getWorkflowModule() |
void |
run()
Method used to run extension for configuration screen
|
void |
run(Properties properties,
Map<String,String> parameters,
com.axemble.vdp.utils.ReportCollector report) |
protected void |
stop(Map<String,String> parameters)
Called when server stops or server stops being a master node
|
void |
stop(Properties properties,
Map<String,String> parameters,
com.axemble.vdp.utils.ReportCollector report) |
public final void run()
UpdateServiceException
public final void run(Properties properties, Map<String,String> parameters, com.axemble.vdp.utils.ReportCollector report)
run
in interface com.axemble.vdoc.update.IUpdateServiceExtension
protected abstract void execute(Map<String,String> parameters) throws Exception
Exception
public final void stop(Properties properties, Map<String,String> parameters, com.axemble.vdp.utils.ReportCollector report)
stop
in interface com.axemble.vdoc.update.IUpdateServiceExtension
protected void stop(Map<String,String> parameters) throws Exception
parameters
- Exception
protected final Logger getLogger()
protected final IWorkflowModule getWorkflowModule()
protected final IPortalModule getPortalModule()
protected final IDirectoryModule getDirectoryModule()
protected final IProjectModule getProjectModule()
Copyright © 2021 Visiativ Software. All rights reserved.