pvillard31 commented on code in PR #11570:
URL: https://github.com/apache/nifi/pull/11570#discussion_r4147097496
##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java:
##########
@@ -2079,6 +2079,18 @@ VersionControlInformationEntity
setVersionControlInformation(Revision processGro
*/
String getFlowRegistryName(String flowRegistryId);
+ /**
+ * Determines which components currently exist in the Process Group with
the given identifier and calculates which of those components
+ * would be impacted by updating the Process Group to the provided snapshot
+ *
+ * @param processGroupId the ID of the Process Group to update
+ * @param updatedSnapshot the snapshot to update the Process Group to
+ * @return the impact of updating the Process Group
+ */
+ FlowUpdateImpact getFlowUpdateImpact(String processGroupId,
RegisteredFlowSnapshot updatedSnapshot);
+
+ RemovedConnectionDrainClassifier.Context
getRemovedConnectionDrainContext();
Review Comment:
Added Javadoc stating that the returned context is a live flow view, not a
snapshot of later queue or component state.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]