@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @Inherited public @interface OnAdded
Marker annotation a Processor
,
ControllerService
,
FlowRegistryClient
ParameterProvider
, or
ReportingTask
implementation
can use to indicate a method should be called whenever the component is added
to the flow. This method will be called once for the entire life of a
component instance.
Methods with this annotation are called without any arguments, as all settings and properties can be assumed to be the defaults.
Copyright © 2023 Apache NiFi Project. All rights reserved.