dawidwys commented on a change in pull request #6266: [FLINK-9682] Add 
setDescription to execution environment and provide description field for the 
rest api
URL: https://github.com/apache/flink/pull/6266#discussion_r219477941
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobGraph.java
 ##########
 @@ -198,6 +201,24 @@ public String getName() {
                return this.jobName;
        }
 
+       /**
+        * Returns the description assigned to the job graph.
+        *
+        * @return the description assigned to the job graph
+        */
+       public String getDescription() {
+               return jobDescription;
+       }
+
+       /**
+        * Set the description for this job graph.
+        *
+        * @param jobDescription the description of the job graph
+        */
+       public void setDescription(String jobDescription) {
 
 Review comment:
   Please set the `jobDescription` only in the ctor.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to