Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2607#discussion_r179768517
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java
 ---
    @@ -3846,6 +3851,73 @@ public QueueSize getTotalFlowFileCount(final 
ProcessGroup group) {
             return new QueueSize(count, contentSize);
         }
     
    +    public class GroupStatusCounts {
    --- End diff --
    
    And honestly, at that point, you could even get rid of the 
getGroupStatusCounts(ProcessGroup) method all together if you wanted, as you 
could just use the FlowController to get the root group and then just pass that 
root group to the constructor of GroupStatusCounts...


---

Reply via email to