public class Initialize extends java.lang.Object implements ModuleInitializer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODULENAME |
static java.lang.String |
NAME |
static java.lang.String |
SCHEDULER |
static java.lang.String |
URL |
static java.lang.String |
WORKFLOWRUNENGINE |
static java.lang.String |
WORKFLOWRUNENGINELIST |
Constructor and Description |
---|
Initialize() |
Modifier and Type | Method and Description |
---|---|
static org.kepler.build.modules.Module |
getCurrentModule()
Get the current module
|
static ConfigurationProperty |
getCurrentModuleProperty()
Gets the property of the current module (Sensor-view).
|
static java.lang.String |
getSchedulerURL()
Get the url of the scheduler.
|
static java.util.Vector<WorkflowRunEngine> |
getWorkflowRunEngineList()
Get the list of workflow run engine.
|
void |
initializeModule()
Perform any module-specific initializations.
|
static boolean |
isSchedulerURLConfigured()
If user configured the schedulerURL on the configuration file.
|
static boolean |
isWorkflowRunEngineConfigured()
If user configured the workflow run engine part on the configuration file.
|
static void |
removeWorkflowRunEngineFromConfig(WorkflowRunEngine deletedEngine)
Remove the specified engine from configuration file.
|
public static final java.lang.String SCHEDULER
public static final java.lang.String WORKFLOWRUNENGINELIST
public static final java.lang.String WORKFLOWRUNENGINE
public static final java.lang.String NAME
public static final java.lang.String URL
public static final java.lang.String MODULENAME
public Initialize()
public void initializeModule()
initializeModule
in interface ModuleInitializer
public static ConfigurationProperty getCurrentModuleProperty()
public static java.lang.String getSchedulerURL()
public static java.util.Vector<WorkflowRunEngine> getWorkflowRunEngineList()
public static boolean isSchedulerURLConfigured()
public static boolean isWorkflowRunEngineConfigured()
public static org.kepler.build.modules.Module getCurrentModule()
public static void removeWorkflowRunEngineFromConfig(WorkflowRunEngine deletedEngine)
deletedEngine
- the engine will be removed