All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kuali.git.workflow.PullRequestStatus Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
/**
 * 
 */
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;
	}

	
	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy