Package org.apache.nifi.flowanalysis
Interface FlowAnalysisRuleContext
- All Superinterfaces:
PropertyContext
This interface provides a bridge between the NiFi Framework and a
FlowAnalysisRule
. This context allows a FlowAnalysisRule to access
configuration supplied by the user.-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface org.apache.nifi.context.PropertyContext
getAllProperties, getProperty
-
Method Details
-
getRuleName
String getRuleName()- Returns:
- the name of the rule that is being triggered
-
getProperties
Map<PropertyDescriptor,String> getProperties()- Returns:
- a Map of all known
PropertyDescriptor
s to their configured properties. This Map will contain anull
for any Property that has not been configured by the user, even if the PropertyDescriptor has a default value
-
getStateManager
StateManager getStateManager()- Returns:
- the StateManager that can be used to store and retrieve state for this component
-
getFlowAnalysisContext
FlowAnalysisContext getFlowAnalysisContext()- Returns:
- a FlowAnalysisContext that can be used to access flow- or other analysis-related information
-