Interface AlarmPipelineManager
-
public interface AlarmPipelineManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
evaluate(QualifiedPath pipelinePath, AlarmEvent alarmEvent)
Put anAlarmEvent
onto aAlarmPipeline
for evaluation.java.util.List<QualifiedPath>
getPipelineNames()
com.google.common.collect.Multimap<QualifiedPath,TrackingContext>
getTrackingContexts()
void
registerBlockFactory(PipelineBlockFactory factory)
Register aPipelineBlockFactory
.void
unregisterBlockFactory(java.lang.String factoryId)
Unregister aPipelineBlockFactory
.
-
-
-
Method Detail
-
getPipelineNames
java.util.List<QualifiedPath> getPipelineNames()
- Returns:
- The names of the available, active pipelines, not null
-
evaluate
void evaluate(QualifiedPath pipelinePath, AlarmEvent alarmEvent)
Put anAlarmEvent
onto aAlarmPipeline
for evaluation.- Parameters:
pipelinePath
- aQualifiedPath
to theAlarmPipeline
.alarmEvent
- theAlarmEvent
to evaluate.
-
registerBlockFactory
void registerBlockFactory(PipelineBlockFactory factory)
Register aPipelineBlockFactory
. AllPipelineBlock
s must have an associatedPipelineBlockFactory
that constructs them.- Parameters:
factory
- APipelineBlockFactory
.
-
unregisterBlockFactory
void unregisterBlockFactory(java.lang.String factoryId)
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.
-
-