public interface ChartManagerService extends ModuleService
Modifier and Type | Method and Description |
---|---|
void |
addChartObserver(ChartObserver observer)
Registers a ChartObserver that will be notified of chart and element events that occur.
|
void |
cancelChart(java.util.UUID instanceId)
Cancel the chart instance identified by
instanceId . |
void |
pauseChart(java.util.UUID instanceId)
Pause the chart instance identified by
instanceId . |
void |
register(StepFactory factory)
Register a
StepFactory . |
void |
registerScopeLocator(ScopeLocator locator)
Register a
ScopeLocator , which will be used by expressions and scripting functions to resolve special scopes provided or identified by modules. |
void |
removeChartObserver(ChartObserver observer)
Removes a previously registered ChartObserver.
|
void |
resumeChart(java.util.UUID instanceId)
Resume the chart instance identified by
instanceId . |
java.util.UUID |
startChart(java.lang.String chartPath,
java.util.Map<java.lang.String,java.lang.Object> parameters,
java.lang.String user)
Start an instance of the chart defined at
chartPath . |
void |
unregister(StepFactory factory)
Unregister a
StepFactory . |
void |
unregisterScopeLocator(ScopeLocator locator)
Unregister a previously registered scope locator.
|
void register(StepFactory factory)
StepFactory
.factory
- The StepFactory
to register.void unregister(StepFactory factory)
StepFactory
.factory
- The StepFactory
to unregister.void registerScopeLocator(ScopeLocator locator)
ScopeLocator
, which will be used by expressions and scripting functions to resolve special scopes provided or identified by modules.locator
- void unregisterScopeLocator(ScopeLocator locator)
locator
- java.util.UUID startChart(java.lang.String chartPath, java.util.Map<java.lang.String,java.lang.Object> parameters, java.lang.String user) throws java.lang.Exception
chartPath
.chartPath
- the chart path.parameters
- parameters to be made available start in the chart's scope.user
- the user requesting the chart be started.java.lang.Exception
- if the chart cannot be started for any reason.void cancelChart(java.util.UUID instanceId)
instanceId
.instanceId
- the instance id of the chart to cancel.void pauseChart(java.util.UUID instanceId)
instanceId
.instanceId
- the instance id of the chart to pause.void resumeChart(java.util.UUID instanceId)
instanceId
.instanceId
- the instance id of the chart to resume.void addChartObserver(ChartObserver observer)
observer
- void removeChartObserver(ChartObserver observer)
observer
-