You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2026/01/05 10:36:05 UTC

[jira] [Resolved] (NIFI-8117) @OnRemoved method is called for version and classpath changes

     [ https://issues.apache.org/jira/browse/NIFI-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard resolved NIFI-8117.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 1.x release line. Marking as resolved as part of a cleanup operation. Please open a new one with an updated description if this is still relevant for NiFi 2.x.

> @OnRemoved method is called for version and classpath changes
> -------------------------------------------------------------
>
>                 Key: NIFI-8117
>                 URL: https://issues.apache.org/jira/browse/NIFI-8117
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.12.1
>            Reporter: Peter Radden
>            Priority: Major
>
> To allow the method to have different behaviour depending on the reason for removal, the proposal is to add an additional optional argument to the method:
> {{public enum RemovalReason}}
>  {
>  {{    USER_REMOVED,}}
>  {{    VERSION_CHANGED,}}
>  {{    CLASSPATH_MODIFICATION;}}
>  {{}}}{{ }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)