Package org.apache.nifi.flowanalysis
Class AbstractFlowAnalysisRule
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.flowanalysis.AbstractFlowAnalysisRule
- All Implemented Interfaces:
ConfigurableComponent,FlowAnalysisRule
public abstract class AbstractFlowAnalysisRule
extends AbstractConfigurableComponent
implements FlowAnalysisRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ComponentLogvoidProvides the Flow Analysis Rule with access to objects that may be of use throughout its lifecycletoString()Methods 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, validateMethods inherited from interface org.apache.nifi.flowanalysis.FlowAnalysisRule
analyzeComponent, analyzeProcessGroup
-
Field Details
-
identifier
-
description
-
logger
-
-
Constructor Details
-
AbstractFlowAnalysisRule
public AbstractFlowAnalysisRule()
-
-
Method Details
-
initialize
public void initialize(FlowAnalysisRuleInitializationContext context) throws InitializationException Description copied from interface:FlowAnalysisRuleProvides the Flow Analysis Rule with access to objects that may be of use throughout its lifecycle- Specified by:
initializein interfaceFlowAnalysisRule- Parameters:
context- seeFlowAnalysisRuleInitializationContext- Throws:
InitializationException- if unable to initialize
-
getIdentifier
- Specified by:
getIdentifierin interfaceConfigurableComponent- Returns:
- the unique identifier that the framework assigned to this component
-
toString
- Overrides:
toStringin classAbstractConfigurableComponent
-
getLogger
- Returns:
- the logger that has been provided to the component by the framework in its initialize method
-