public class PullRequest extends Object
| Constructor and Description |
|---|
PullRequest(String id,
URL url,
Repository repository,
Codebase codebase,
PullRequestState state,
String title,
String body,
boolean mergeable,
boolean merged,
MergeableState mergeableState,
Date mergedAt) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBody() |
Codebase |
getCodebase() |
String |
getId() |
MergeableState |
getMergableState() |
Date |
getMergedAt() |
Repository |
getRepository() |
PullRequestState |
getState() |
String |
getTitle() |
URL |
getURL() |
int |
hashCode() |
boolean |
isMergeable() |
boolean |
isMerged() |
boolean |
isUpgrade() |
void |
setBody(String body) |
void |
setRepository(Repository repository) |
void |
setState(PullRequestState state) |
void |
setTitle(String title) |
String |
toString() |
public PullRequest(String id, URL url, Repository repository, Codebase codebase, PullRequestState state, String title, String body, boolean mergeable, boolean merged, MergeableState mergeableState, Date mergedAt)
public String getId()
public URL getURL()
public Codebase getCodebase()
public PullRequestState getState()
public void setState(PullRequestState state)
public String getTitle()
public void setTitle(String title)
public String getBody()
public void setBody(String body)
public Repository getRepository()
public void setRepository(Repository repository)
public boolean isMergeable()
public boolean isMerged()
public MergeableState getMergableState()
public Date getMergedAt()
public boolean isUpgrade()
Copyright © 2017 JBoss by Red Hat. All rights reserved.