Interface FlowAnalysisRuleContext

All Superinterfaces:
PropertyContext

public interface FlowAnalysisRuleContext extends 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 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 PropertyDescriptors to their configured properties. This Map will contain a null 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