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 StringgetCommitLink()StringgetLatestCommit()StringgetLatestCommitFromRef()StringgetLatestCommitToRef()StringgetLinkApprove()StringgetLinkDecline()BitBucketPPRPayloadgetPayload()StringgetPullRequestApiUrl()StringgetPullRequestId()StringgetRepositoryId()StringgetRepositoryName()StringgetScm()List<String>getScmUrls()StringgetServerComment()StringgetSourceBranch()StringgetTargetBranch()StringgetTargetBranchRefId()StringgetTitle()StringgetUser()StringsetBaseUrl(String url)StringtoString()-
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:
getSourceBranchin interfaceBitBucketPPRAction
-
getLatestCommitFromRef
public String getLatestCommitFromRef()
- Specified by:
getLatestCommitFromRefin interfaceBitBucketPPRAction
-
getLatestCommitToRef
public String getLatestCommitToRef()
- Specified by:
getLatestCommitToRefin interfaceBitBucketPPRAction
-
getTargetBranch
public String getTargetBranch()
- Specified by:
getTargetBranchin interfaceBitBucketPPRAction
-
getTargetBranchRefId
public String getTargetBranchRefId()
- Specified by:
getTargetBranchRefIdin interfaceBitBucketPPRAction
-
getPullRequestApiUrl
public String getPullRequestApiUrl()
- Specified by:
getPullRequestApiUrlin interfaceBitBucketPPRAction
-
getScm
public String getScm()
- Specified by:
getScmin interfaceBitBucketPPRAction
-
getUser
public String getUser()
- Specified by:
getUserin interfaceBitBucketPPRAction
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceBitBucketPPRAction
-
getPayload
public BitBucketPPRPayload getPayload()
- Specified by:
getPayloadin interfaceBitBucketPPRAction
-
getRepositoryName
public String getRepositoryName()
- Specified by:
getRepositoryNamein interfaceBitBucketPPRAction
-
getServerComment
public String getServerComment()
- Specified by:
getServerCommentin interfaceBitBucketPPRAction
-
getScmUrls
public List<String> getScmUrls()
- Specified by:
getScmUrlsin interfaceBitBucketPPRAction
-
getPullRequestId
public String getPullRequestId()
- Specified by:
getPullRequestIdin interfaceBitBucketPPRAction
-
getRepositoryId
public String getRepositoryId()
- Specified by:
getRepositoryIdin interfaceBitBucketPPRAction
-
getLinkApprove
public String getLinkApprove() throws MalformedURLException
- Specified by:
getLinkApprovein interfaceBitBucketPPRAction- Throws:
MalformedURLException
-
getLinkDecline
public String getLinkDecline() throws MalformedURLException
- Specified by:
getLinkDeclinein interfaceBitBucketPPRAction- Throws:
MalformedURLException
-
getLatestCommit
public String getLatestCommit()
- Specified by:
getLatestCommitin interfaceBitBucketPPRAction
-
getCommitLink
public String getCommitLink() throws MalformedURLException
- Specified by:
getCommitLinkin interfaceBitBucketPPRAction- Throws:
MalformedURLException
-
-