Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/5985#discussion_r187378292 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/TerminationModeQueryParameter.java --- @@ -41,6 +41,11 @@ public String convertValueToString(TerminationMode value) { return value.name().toLowerCase(); } + @Override + public String getDescription() { + return "Defines the termination mode. Supported values are: \"cancel\",\"stop\" (case insensitive). "; --- End diff -- derive the available aggregations from `TerminationMode` enum instead.
---