Class BitBucketPPRPullRequestServerAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRActionAbstract
-
- io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestServerAction
-
- All Implemented Interfaces:
Action
,ModelObject
,BitBucketPPRAction
public class BitBucketPPRPullRequestServerAction extends BitBucketPPRActionAbstract implements BitBucketPPRAction
-
-
Constructor Summary
Constructors Constructor Description BitBucketPPRPullRequestServerAction(BitBucketPPRPayload payload, BitBucketPPRHookEvent bitbucketEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommitLink()
String
getLatestCommit()
String
getLatestCommitFromRef()
String
getLatestCommitToRef()
String
getLinkApprove()
String
getLinkDecline()
BitBucketPPRPayload
getPayload()
String
getPullRequestApiUrl()
String
getPullRequestId()
String
getRepositoryId()
String
getRepositoryName()
String
getScm()
List<String>
getScmUrls()
String
getServerComment()
String
getSourceBranch()
String
getTargetBranch()
String
getTargetBranchRefId()
String
getTitle()
String
getUser()
String
setBaseUrl(String url)
String
toString()
-
Methods inherited from class io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRActionAbstract
getGlobalConfig, getPropagationUrl, setPropagationUrl
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from interface io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRAction
getComment, getCommitLinks, getDescription, getLinkHtml, getLinkSelf, getLinkStatuses, getProjectUrl, getPullRequestUrl, getRepositoryUrl, getType
-
-
-
-
Constructor Detail
-
BitBucketPPRPullRequestServerAction
public BitBucketPPRPullRequestServerAction(@Nonnull BitBucketPPRPayload payload, BitBucketPPRHookEvent bitbucketEvent) throws BitBucketPPRPayloadPropertyNotFoundException
-
-
Method Detail
-
getSourceBranch
public String getSourceBranch()
- Specified by:
getSourceBranch
in interfaceBitBucketPPRAction
-
getLatestCommitFromRef
public String getLatestCommitFromRef()
- Specified by:
getLatestCommitFromRef
in interfaceBitBucketPPRAction
-
getLatestCommitToRef
public String getLatestCommitToRef()
- Specified by:
getLatestCommitToRef
in interfaceBitBucketPPRAction
-
getTargetBranch
public String getTargetBranch()
- Specified by:
getTargetBranch
in interfaceBitBucketPPRAction
-
getTargetBranchRefId
public String getTargetBranchRefId()
- Specified by:
getTargetBranchRefId
in interfaceBitBucketPPRAction
-
getPullRequestApiUrl
public String getPullRequestApiUrl()
- Specified by:
getPullRequestApiUrl
in interfaceBitBucketPPRAction
-
getScm
public String getScm()
- Specified by:
getScm
in interfaceBitBucketPPRAction
-
getUser
public String getUser()
- Specified by:
getUser
in interfaceBitBucketPPRAction
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceBitBucketPPRAction
-
getPayload
public BitBucketPPRPayload getPayload()
- Specified by:
getPayload
in interfaceBitBucketPPRAction
-
getRepositoryName
public String getRepositoryName()
- Specified by:
getRepositoryName
in interfaceBitBucketPPRAction
-
getServerComment
public String getServerComment()
- Specified by:
getServerComment
in interfaceBitBucketPPRAction
-
getScmUrls
public List<String> getScmUrls()
- Specified by:
getScmUrls
in interfaceBitBucketPPRAction
-
getPullRequestId
public String getPullRequestId()
- Specified by:
getPullRequestId
in interfaceBitBucketPPRAction
-
getRepositoryId
public String getRepositoryId()
- Specified by:
getRepositoryId
in interfaceBitBucketPPRAction
-
getLinkApprove
public String getLinkApprove() throws MalformedURLException
- Specified by:
getLinkApprove
in interfaceBitBucketPPRAction
- Throws:
MalformedURLException
-
getLinkDecline
public String getLinkDecline() throws MalformedURLException
- Specified by:
getLinkDecline
in interfaceBitBucketPPRAction
- Throws:
MalformedURLException
-
getLatestCommit
public String getLatestCommit()
- Specified by:
getLatestCommit
in interfaceBitBucketPPRAction
-
getCommitLink
public String getCommitLink() throws MalformedURLException
- Specified by:
getCommitLink
in interfaceBitBucketPPRAction
- Throws:
MalformedURLException
-
-