Interface AlarmPipelineManager
public interface AlarmPipelineManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate
(QualifiedPath pipelinePath, AlarmEvent alarmEvent) Put anAlarmEvent
onto aAlarmPipeline
for evaluation.com.google.common.collect.Multimap<QualifiedPath,
TrackingContext> void
registerBlockFactory
(PipelineBlockFactory factory) Register aPipelineBlockFactory
.void
unregisterBlockFactory
(String factoryId) Unregister aPipelineBlockFactory
.
-
Method Details
-
getPipelineNames
List<QualifiedPath> getPipelineNames()- Returns:
- The names of the available, active pipelines, not null
-
evaluate
Put anAlarmEvent
onto aAlarmPipeline
for evaluation.- Parameters:
pipelinePath
- aQualifiedPath
to theAlarmPipeline
.alarmEvent
- theAlarmEvent
to evaluate.
-
registerBlockFactory
Register aPipelineBlockFactory
. AllPipelineBlock
s must have an associatedPipelineBlockFactory
that constructs them.- Parameters:
factory
- APipelineBlockFactory
.
-
unregisterBlockFactory
Unregister aPipelineBlockFactory
.- Parameters:
factoryId
- The id (PipelineBlockFactory.getId()
) of the factory to unregister.
-
getTrackingContexts
com.google.common.collect.Multimap<QualifiedPath,TrackingContext> getTrackingContexts()- Returns:
- A copy of the root TrackingContexts for all outstanding AlarmEvents, grouped by pipeline name.
-