Package com.cloudogu.scmmanager.scm.api
Class PullRequest
- java.lang.Object
-
- de.otto.edison.hal.HalRepresentation
-
- com.cloudogu.scmmanager.scm.api.PullRequest
-
- All Implemented Interfaces:
ScmManagerObservable
public class PullRequest extends de.otto.edison.hal.HalRepresentation implements ScmManagerObservable
-
-
Constructor Summary
Constructors Constructor Description PullRequest(String id, Branch targetBranch, Branch sourceBranch, CloneInformation cloneInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
String
getSource()
String
getTarget()
int
hashCode()
ScmManagerPullRequestHead
head()
ScmManagerPullRequestRevision
revision()
-
-
-
Constructor Detail
-
PullRequest
public PullRequest(String id, Branch targetBranch, Branch sourceBranch, CloneInformation cloneInformation)
-
-
Method Detail
-
getId
public String getId()
-
getSource
public String getSource()
-
getTarget
public String getTarget()
-
head
public ScmManagerPullRequestHead head()
- Specified by:
head
in interfaceScmManagerObservable
-
revision
public ScmManagerPullRequestRevision revision()
- Specified by:
revision
in interfaceScmManagerObservable
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classde.otto.edison.hal.HalRepresentation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classde.otto.edison.hal.HalRepresentation
-
-