[
https://issues.apache.org/jira/browse/NIFI-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Radden updated NIFI-8117:
-------------------------------
Description:
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;}}
{{}}}{{ }}
was:
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;
}
> @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: Task
> 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.3.4#803005)