Class BitBucketPPREventContext
- java.lang.Object
-
- io.jenkins.plugins.bitbucketpushandpullrequest.event.BitBucketPPREventContext
-
public class BitBucketPPREventContext extends Object
-
-
Constructor Summary
Constructors Constructor Description BitBucketPPREventContext(BitBucketPPRTrigger trigger, BitBucketPPRAction action, SCM scmTrigger, Run<?,?> run, BitBucketPPRTriggerFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbsoluteUrl()BitBucketPPRActiongetAction()intgetBuildNumber()StringgetCredentialsId()BitBucketPPRTriggerFiltergetFilter()protected BitBucketPPRPluginConfiggetGlobalConfig()Run<?,?>getRun()SCMgetScmTrigger()org.jenkinsci.plugins.plaincredentials.StringCredentialsgetSecretTextCredentials()com.cloudbees.plugins.credentials.common.StandardCredentialsgetStandardCredentials()StringgetUrl()hudson.plugins.git.UserRemoteConfiggetUserRemoteConfig()hudson.plugins.git.UserRemoteConfiggetUserRemoteConfigs(SCM scm)StringtoString()
-
-
-
Constructor Detail
-
BitBucketPPREventContext
public BitBucketPPREventContext(BitBucketPPRTrigger trigger, BitBucketPPRAction action, SCM scmTrigger, Run<?,?> run, BitBucketPPRTriggerFilter filter) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getSecretTextCredentials
public org.jenkinsci.plugins.plaincredentials.StringCredentials getSecretTextCredentials() throws Exception- Throws:
Exception
-
getStandardCredentials
public com.cloudbees.plugins.credentials.common.StandardCredentials getStandardCredentials() throws Exception- Throws:
Exception
-
getGlobalConfig
protected BitBucketPPRPluginConfig getGlobalConfig()
-
getUrl
public String getUrl()
-
getCredentialsId
public String getCredentialsId()
-
getUserRemoteConfig
public hudson.plugins.git.UserRemoteConfig getUserRemoteConfig()
-
getScmTrigger
public SCM getScmTrigger()
-
getAction
public BitBucketPPRAction getAction()
-
getRun
public Run<?,?> getRun()
-
getAbsoluteUrl
public String getAbsoluteUrl()
-
getBuildNumber
public int getBuildNumber()
-
getFilter
public BitBucketPPRTriggerFilter getFilter()
-
getUserRemoteConfigs
public hudson.plugins.git.UserRemoteConfig getUserRemoteConfigs(SCM scm)
-
-