flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #5589: [FLINK-8797] Port AbstractOperatorRestoreTestBase ...
Date Tue, 27 Feb 2018 13:18:17 GMT
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}.
    ```


---

Mime
View raw message