protected String getApiRoute() { return getIssuesApiRoute(); }
protected String getApiRoute() { return getIssuesApiRoute(); }
protected String getApiRoute() { return getIssuesApiRoute(); }
public PagedIterator<GHIssueComment> _iterator(int pageSize) { return new PagedIterator<GHIssueComment>(root.retrieve().asIterator(getIssuesApiRoute() + "/comments", GHIssueComment[].class, pageSize)) { protected void wrapUp(GHIssueComment[] page) { for (GHIssueComment c : page) c.wrapUp(GHIssue.this); } }; } };
public PagedIterator<GHIssueComment> _iterator(int pageSize) { return new PagedIterator<GHIssueComment>(root.retrieve().asIterator(getIssuesApiRoute() + "/comments", GHIssueComment[].class, pageSize)) { protected void wrapUp(GHIssueComment[] page) { for (GHIssueComment c : page) c.wrapUp(GHIssue.this); } }; } };
public PagedIterator<GHIssueComment> iterator() { return new PagedIterator<GHIssueComment>(root.retrieve().asIterator(getIssuesApiRoute() + "/comments", GHIssueComment[].class)) { protected void wrapUp(GHIssueComment[] page) { for (GHIssueComment c : page) c.wrapUp(GHIssue.this); } }; } };
public void setAssignees(Collection<GHUser> assignees) throws IOException { new Requester(root).withLogins(ASSIGNEES, assignees).method("PATCH").to(getIssuesApiRoute()); }
/** * Updates the issue by adding a comment. */ public GHIssueComment comment(String message) throws IOException { GHIssueComment r = new Requester(root).with("body",message).to(getIssuesApiRoute() + "/comments", GHIssueComment.class); return r.wrapUp(this); }
private void editIssue(String key, Object value) throws IOException { new Requester(root)._with(key, value).method("PATCH").to(getIssuesApiRoute()); }
public void addAssignees(Collection<GHUser> assignees) throws IOException { root.retrieve().method("POST").withLogins(ASSIGNEES,assignees).to(getIssuesApiRoute()+"/assignees",this); }
private void editIssue(String key, Object value) throws IOException { new Requester(root)._with(key, value).method("PATCH").to(getIssuesApiRoute()); }
public void addAssignees(Collection<GHUser> assignees) throws IOException { root.retrieve().method("POST").withLogins(ASSIGNEES,assignees).to(getIssuesApiRoute()+"/assignees",this); }
private void editIssue(String key, Object value) throws IOException { new Requester(root)._with(key, value).method("PATCH").to(getIssuesApiRoute()); }
public void setAssignees(Collection<GHUser> assignees) throws IOException { new Requester(root).withLogins(ASSIGNEES, assignees).method("PATCH").to(getIssuesApiRoute()); }
/** * Updates the issue by adding a comment. * * @return * Newly posted comment. */ @WithBridgeMethods(void.class) public GHIssueComment comment(String message) throws IOException { GHIssueComment r = new Requester(root).with("body",message).to(getIssuesApiRoute() + "/comments", GHIssueComment.class); return r.wrapUp(this); }
public void removeAssignees(Collection<GHUser> assignees) throws IOException { root.retrieve().method("DELETE").withLogins(ASSIGNEES,assignees).inBody().to(getIssuesApiRoute()+"/assignees",this); }
/** * Updates the issue by adding a comment. * * @return * Newly posted comment. */ @WithBridgeMethods(void.class) public GHIssueComment comment(String message) throws IOException { GHIssueComment r = new Requester(root).with("body",message).to(getIssuesApiRoute() + "/comments", GHIssueComment.class); return r.wrapUp(this); }
public void removeAssignees(Collection<GHUser> assignees) throws IOException { root.retrieve().method("DELETE").withLogins(ASSIGNEES,assignees).inBody().to(getIssuesApiRoute()+"/assignees",this); }