Class StatefulFlowAnalysisRule

java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.flowanalysis.AbstractFlowAnalysisRule
org.apache.nifi.flowanalysis.StatefulFlowAnalysisRule
All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent, org.apache.nifi.flowanalysis.FlowAnalysisRule

@Stateful(scopes=LOCAL, description="Stores the timestamp of the last initialization") public class StatefulFlowAnalysisRule extends org.apache.nifi.flowanalysis.AbstractFlowAnalysisRule
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.apache.nifi.flowanalysis.ComponentAnalysisResult>
    analyzeComponent(org.apache.nifi.flow.VersionedComponent component, org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context)
     
    Collection<org.apache.nifi.flowanalysis.GroupAnalysisResult>
    analyzeProcessGroup(org.apache.nifi.flow.VersionedProcessGroup processGroup, org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context)
     
    private void
    updateState(org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context, String lastAnalyizeTimestampKey)
     

    Methods inherited from class org.apache.nifi.flowanalysis.AbstractFlowAnalysisRule

    getIdentifier, getLogger, initialize, toString

    Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent

    customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
  • Field Details

  • Constructor Details

    • StatefulFlowAnalysisRule

      public StatefulFlowAnalysisRule()
  • Method Details

    • analyzeComponent

      public Collection<org.apache.nifi.flowanalysis.ComponentAnalysisResult> analyzeComponent(org.apache.nifi.flow.VersionedComponent component, org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context)
    • analyzeProcessGroup

      public Collection<org.apache.nifi.flowanalysis.GroupAnalysisResult> analyzeProcessGroup(org.apache.nifi.flow.VersionedProcessGroup processGroup, org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context)
    • updateState

      private void updateState(org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context, String lastAnalyizeTimestampKey)