public class CommitGroovyObject
extends groovy.lang.GroovyObjectSupport
RepositoryCommit.
Provides useful properties that allow one to iterate over a commits:
- Comments
- Files
- Statuses
And a few methods to create:
- Review comments
- StatusesRepositoryCommit| Modifier and Type | Method and Description |
|---|---|
ReviewCommentGroovyObject |
comment(Map<String,Object> params) |
ReviewCommentGroovyObject |
comment(String body,
String path,
Integer position) |
CommitStatusGroovyObject |
createStatus(Map<String,String> params) |
CommitStatusGroovyObject |
createStatus(String status,
String context,
String description,
String targetUrl) |
Object |
getProperty(String property) |
void |
setProperty(String property,
Object newValue) |
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 ReviewCommentGroovyObject comment(Map<String,Object> params)
public ReviewCommentGroovyObject comment(String body, String path, Integer position)
public CommitStatusGroovyObject createStatus(Map<String,String> params)
public CommitStatusGroovyObject createStatus(String status, String context, String description, String targetUrl)
Copyright © 2016–2017. All rights reserved.