jerryshao commented on code in PR #7531:
URL: https://github.com/apache/gravitino/pull/7531#discussion_r2189140477


##########
api/src/main/java/org/apache/gravitino/policy/Policy.java:
##########
@@ -93,6 +95,15 @@ public interface Policy extends Auditable {
    */
   Content content();
 
+  /**
+   * Get the list of job templates that are associated with the policy. The 
job templates can be
+   * used to execute jobs that are related to the policy.
+   *
+   * @return The list of job templates that are associated with the policy, 
can be empty if no job
+   *     templates are associated with the policy.
+   */
+  List<JobTemplate> associatedJobTemplates();

Review Comment:
   I will keep this possibility, as there's potentially a scenario that one 
policy needs several templates to coordinate.



-- 
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]

Reply via email to