Class BitBucketPPRPullRequestAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRActionAbstract
-
- io.jenkins.plugins.bitbucketpushandpullrequest.action.BitBucketPPRPullRequestAction
-
- All Implemented Interfaces:
Action,ModelObject,BitBucketPPRAction
public class BitBucketPPRPullRequestAction extends BitBucketPPRActionAbstract implements BitBucketPPRAction
-
-
Constructor Summary
Constructors Constructor Description BitBucketPPRPullRequestAction(BitBucketPPRPayload payload, BitBucketPPRHookEvent event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()StringgetCommitLink()StringgetDescription()StringgetLatestCommit()StringgetLatestCommitFromRef()StringgetLatestCommitToRef()StringgetLinkApprove()StringgetLinkDecline()StringgetLinkHtml()StringgetLinkSelf()StringgetLinkStatuses()BitBucketPPRPayloadgetPayload()StringgetPullRequestApiUrl()StringgetPullRequestId()StringgetPullRequestUrl()StringgetRepositoryName()StringgetScm()List<String>getScmUrls()StringgetSourceBranch()StringgetTargetBranch()StringgetTitle()StringgetUser()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
getCommitLinks, getProjectUrl, getRepositoryId, getRepositoryUrl, getServerComment, getTargetBranchRefId, getType
-
-
-
-
Field Detail
-
APPROVE
public static final String APPROVE
- See Also:
- Constant Field Values
-
DECLINE
public static final String DECLINE
- See Also:
- Constant Field Values
-
STATUSES
public static final String STATUSES
- See Also:
- Constant Field Values
-
COMMIT
public static final String COMMIT
- See Also:
- Constant Field Values
-
BITBUCKET_API_BASE_URL
public static final String BITBUCKET_API_BASE_URL
- See Also:
- Constant Field Values
-
BITBUCKET_HTTP_BASE_URL
public static final String BITBUCKET_HTTP_BASE_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BitBucketPPRPullRequestAction
public BitBucketPPRPullRequestAction(@Nonnull BitBucketPPRPayload payload, @Nonnull BitBucketPPRHookEvent event)
-
-
Method Detail
-
getSourceBranch
public String getSourceBranch()
- Specified by:
getSourceBranchin interfaceBitBucketPPRAction
-
getTargetBranch
public String getTargetBranch()
- Specified by:
getTargetBranchin interfaceBitBucketPPRAction
-
getLatestCommitFromRef
public String getLatestCommitFromRef()
- Specified by:
getLatestCommitFromRefin interfaceBitBucketPPRAction
-
getLatestCommitToRef
public String getLatestCommitToRef()
- Specified by:
getLatestCommitToRefin interfaceBitBucketPPRAction
-
getPullRequestApiUrl
public String getPullRequestApiUrl()
- Specified by:
getPullRequestApiUrlin interfaceBitBucketPPRAction
-
getPullRequestUrl
public String getPullRequestUrl()
- Specified by:
getPullRequestUrlin interfaceBitBucketPPRAction
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceBitBucketPPRAction
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceBitBucketPPRAction
-
getPayload
public BitBucketPPRPayload getPayload()
- Specified by:
getPayloadin interfaceBitBucketPPRAction
-
getScm
public String getScm()
- Specified by:
getScmin interfaceBitBucketPPRAction
-
getUser
public String getUser()
- Specified by:
getUserin interfaceBitBucketPPRAction
-
getRepositoryName
public String getRepositoryName()
- Specified by:
getRepositoryNamein interfaceBitBucketPPRAction
-
getScmUrls
public List<String> getScmUrls()
- Specified by:
getScmUrlsin interfaceBitBucketPPRAction
-
getPullRequestId
public String getPullRequestId()
- Specified by:
getPullRequestIdin interfaceBitBucketPPRAction
-
getComment
public String getComment()
- Specified by:
getCommentin interfaceBitBucketPPRAction
-
getLinkHtml
public String getLinkHtml()
- Specified by:
getLinkHtmlin interfaceBitBucketPPRAction
-
getLinkSelf
public String getLinkSelf()
- Specified by:
getLinkSelfin interfaceBitBucketPPRAction
-
getLinkApprove
public String getLinkApprove()
- Specified by:
getLinkApprovein interfaceBitBucketPPRAction
-
getLinkDecline
public String getLinkDecline()
- Specified by:
getLinkDeclinein interfaceBitBucketPPRAction
-
getLinkStatuses
public String getLinkStatuses()
- Specified by:
getLinkStatusesin interfaceBitBucketPPRAction
-
getLatestCommit
public String getLatestCommit()
- Specified by:
getLatestCommitin interfaceBitBucketPPRAction
-
getCommitLink
public String getCommitLink()
- Specified by:
getCommitLinkin interfaceBitBucketPPRAction
-
-