public class PullRequestGroovyObject extends groovy.lang.GroovyObjectSupport implements Serializable
ExtendedPullRequest,
Serialized Form| Constructor and Description |
|---|
PullRequestGroovyObject(org.jenkinsci.plugins.workflow.cps.CpsScript script) |
public Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.GroovyObjectSupportpublic void setProperty(String property, Object newValue)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class groovy.lang.GroovyObjectSupportpublic void createReviewRequests(String... reviewers)
public void deleteReviewRequests(String... reviewers)
public void addLabels(String... labels)
public void removeLabel(String label)
public void addAssignees(String... assignees)
public void removeAssignees(String... assignees)
public CommitStatusGroovyObject createStatus(Map<String,String> params)
public CommitStatusGroovyObject createStatus(String status, String context, String description, String targetUrl)
public ReviewCommentGroovyObject reviewComment(String commitId, String path, int position, String body)
public ReviewCommentGroovyObject replyToReviewComment(long commentId, String body)
public void deleteReviewComment(long commentId)
public ReviewCommentGroovyObject editReviewComment(long commentId, String body)
public IssueCommentGroovyObject comment(String body)
public IssueCommentGroovyObject editComment(long commentId, String body)
public void deleteComment(long commentId)
public void refresh()
Copyright © 2016–2017. All rights reserved.