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 String
getComment()
String
getCommitLink()
String
getDescription()
String
getLatestCommit()
String
getLatestCommitFromRef()
String
getLatestCommitToRef()
String
getLinkApprove()
String
getLinkDecline()
String
getLinkHtml()
String
getLinkSelf()
String
getLinkStatuses()
BitBucketPPRPayload
getPayload()
String
getPullRequestApiUrl()
String
getPullRequestId()
String
getPullRequestUrl()
String
getRepositoryName()
String
getScm()
List<String>
getScmUrls()
String
getSourceBranch()
String
getTargetBranch()
String
getTitle()
String
getUser()
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
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:
getSourceBranch
in interfaceBitBucketPPRAction
-
getTargetBranch
public String getTargetBranch()
- Specified by:
getTargetBranch
in interfaceBitBucketPPRAction
-
getLatestCommitFromRef
public String getLatestCommitFromRef()
- Specified by:
getLatestCommitFromRef
in interfaceBitBucketPPRAction
-
getLatestCommitToRef
public String getLatestCommitToRef()
- Specified by:
getLatestCommitToRef
in interfaceBitBucketPPRAction
-
getPullRequestApiUrl
public String getPullRequestApiUrl()
- Specified by:
getPullRequestApiUrl
in interfaceBitBucketPPRAction
-
getPullRequestUrl
public String getPullRequestUrl()
- Specified by:
getPullRequestUrl
in interfaceBitBucketPPRAction
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceBitBucketPPRAction
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceBitBucketPPRAction
-
getPayload
public BitBucketPPRPayload getPayload()
- Specified by:
getPayload
in interfaceBitBucketPPRAction
-
getScm
public String getScm()
- Specified by:
getScm
in interfaceBitBucketPPRAction
-
getUser
public String getUser()
- Specified by:
getUser
in interfaceBitBucketPPRAction
-
getRepositoryName
public String getRepositoryName()
- Specified by:
getRepositoryName
in interfaceBitBucketPPRAction
-
getScmUrls
public List<String> getScmUrls()
- Specified by:
getScmUrls
in interfaceBitBucketPPRAction
-
getPullRequestId
public String getPullRequestId()
- Specified by:
getPullRequestId
in interfaceBitBucketPPRAction
-
getComment
public String getComment()
- Specified by:
getComment
in interfaceBitBucketPPRAction
-
getLinkHtml
public String getLinkHtml()
- Specified by:
getLinkHtml
in interfaceBitBucketPPRAction
-
getLinkSelf
public String getLinkSelf()
- Specified by:
getLinkSelf
in interfaceBitBucketPPRAction
-
getLinkApprove
public String getLinkApprove()
- Specified by:
getLinkApprove
in interfaceBitBucketPPRAction
-
getLinkDecline
public String getLinkDecline()
- Specified by:
getLinkDecline
in interfaceBitBucketPPRAction
-
getLinkStatuses
public String getLinkStatuses()
- Specified by:
getLinkStatuses
in interfaceBitBucketPPRAction
-
getLatestCommit
public String getLatestCommit()
- Specified by:
getLatestCommit
in interfaceBitBucketPPRAction
-
getCommitLink
public String getCommitLink()
- Specified by:
getCommitLink
in interfaceBitBucketPPRAction
-
-