Package org.apache.nifi.flowanalysis
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<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 voidupdateState(org.apache.nifi.flowanalysis.FlowAnalysisRuleContext context, String lastAnalyizeTimestampKey) Methods inherited from class org.apache.nifi.flowanalysis.AbstractFlowAnalysisRule
getIdentifier, getLogger, initialize, toStringMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
-
Field Details
-
LAST_ANALYIZE_COMPONENT_TIMESTAMP
- See Also:
-
LAST_ANALYIZE_PROCESS_GROUP_TIMESTAMP
- See Also:
-
-
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)
-