Package org.apache.nifi.annotation.lifecycle
package org.apache.nifi.annotation.lifecycle
-
Annotation InterfacesClassDescriptionMarker annotation a
Processor
,ControllerService
,FlowRegistryClient
,ParameterProvider
,FlowAnalysisRule
, orReportingTask
implementation can use to indicate a method should be called whenever the component is added to the flow.Marker Annotation that a Processor, Reporting Task, or Controller Service can use to indicate that the method with this Annotation should be invoked whenever the component's configuration is restored after a restart of NiFi.Marker annotation aControllerService
can use to indicate a method should be called whenever the service is disabled.Marker annotation aControllerService
can use to indicate a method should be called whenever the service is enabled.Marker annotation aProcessor
,ControllerService
,FlowRegistryClient
,ParameterProvider
,FlowAnalysisRule
, orReportingTask
implementation can use to indicate a method should be called whenever the component is removed from the flow.Marker annotation aProcessor
orReportingTask
implementation can use to indicate a method should be called whenever the component is scheduled to run.Marker annotation aProcessor
,ControllerService
,ParameterProvider
, orReportingTask
implementation can use to indicate a method should be called whenever the flow is being shutdown.Marker annotation aProcessor
orReportingTask
implementation can use to indicate that a method should be called whenever the component is no longer scheduled to run.Marker annotation aProcessor
orReportingTask
should be called whenever the component is no longer scheduled to run.