Class BitbucketServerPullRequestEvent
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.server.events.BitbucketServerPullRequestEvent
-
- All Implemented Interfaces:
BitbucketPullRequestEvent
public class BitbucketServerPullRequestEvent extends Object implements BitbucketPullRequestEvent
-
-
Constructor Summary
Constructors Constructor Description BitbucketServerPullRequestEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketServerPullRequest
getPullRequest()
BitbucketServerRepository
getRepository()
void
setPullRequest(BitbucketServerPullRequest pullRequest)
void
setRepository(BitbucketServerRepository repository)
-
-
-
Method Detail
-
getPullRequest
public BitbucketServerPullRequest getPullRequest()
- Specified by:
getPullRequest
in interfaceBitbucketPullRequestEvent
- Returns:
- the pull request that originates this event.
-
setPullRequest
public void setPullRequest(BitbucketServerPullRequest pullRequest)
-
getRepository
public BitbucketServerRepository getRepository()
- Specified by:
getRepository
in interfaceBitbucketPullRequestEvent
- Returns:
- the destination repository that
BitbucketPullRequestEvent.getPullRequest()
points to.
-
setRepository
public void setRepository(BitbucketServerRepository repository)
-
-