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

    https://github.com/apache/flink/pull/5589#discussion_r170917656
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/JobDetailsInfo.java
 ---
    @@ -165,6 +165,54 @@ public int hashCode() {
                return Objects.hash(jobId, name, isStoppable, jobStatus, 
startTime, endTime, duration, now, timestamps, jobVertexInfos, 
jobVerticesPerState, jsonPlan);
        }
     
    +   public JobID getJobId() {
    +           return jobId;
    +   }
    +
    +   public String getName() {
    +           return name;
    +   }
    +
    +   public boolean isStoppable() {
    --- End diff --
    
    see `ResponseBody` javadocs:
    ```
    When adding methods that are prefixed with {@code get} make sure to 
annotate them with {@code @JsonIgnore}.
    ```


---

Reply via email to