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 ComponentLog
void
Provides 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, 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
Methods 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:FlowAnalysisRule
Provides the Flow Analysis Rule with access to objects that may be of use throughout its lifecycle- Specified by:
initialize
in interfaceFlowAnalysisRule
- Parameters:
context
- seeFlowAnalysisRuleInitializationContext
- Throws:
InitializationException
- if unable to initialize
-
getIdentifier
- Specified by:
getIdentifier
in interfaceConfigurableComponent
- Returns:
- the unique identifier that the framework assigned to this component
-
toString
- Overrides:
toString
in classAbstractConfigurableComponent
-
getLogger
- Returns:
- the logger that has been provided to the component by the framework in its initialize method
-