You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2018/11/06 16:25:01 UTC

[jira] [Resolved] (NIFI-5769) FlowController should prefer composition over inheritance

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

Bryan Bende resolved NIFI-5769.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

> FlowController should prefer composition over inheritance
> ---------------------------------------------------------
>
>                 Key: NIFI-5769
>                 URL: https://issues.apache.org/jira/browse/NIFI-5769
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.9.0
>
>
> Currently, FlowController implements many different interfaces. At this time, the class is several thousand lines of code, which makes rendering take quite a while in IDE's and makes it more difficult to edit and maintain. Many of these interfaces are unrelated and FlowController has become a bit of a hodgepodge of functionality. We should refactor FlowController to externalize a lot of this logic and let FlowController use composition rather than inheritance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)