org.kuali.git.workflow.PullRequestStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of git-workflow-maven-plugin Show documentation
Show all versions of git-workflow-maven-plugin Show documentation
Tooling for managing Kuali Git workflows
/**
*
*/
package org.kuali.git.workflow;
import org.kohsuke.github.GHCommitStatus;
import org.kohsuke.github.PagedIterable;
/**
* @author ocleirig
*
*/
public class PullRequestStatus {
private int pullRequestNumber;
private String commitId;
// ordered most recent to oldest.
private PagedIterable statuses;
public PullRequestStatus(int pullRequestNumber, String commit,
PagedIterable statuses) {
super();
this.pullRequestNumber = pullRequestNumber;
this.commitId = commit;
this.statuses = statuses;
}
/**
* @return the pullRequestNumber
*/
public int getPullRequestNumber() {
return pullRequestNumber;
}
/**
* @return the commit
*/
public String getCommitId() {
return commitId;
}
/**
* @return the statuses
*/
public PagedIterable getStatuses() {
return statuses;
}
}