Class BitBucketPPREventContext

java.lang.Object
io.jenkins.plugins.bitbucketpushandpullrequest.event.BitBucketPPREventContext

public class BitBucketPPREventContext extends Object
  • Constructor Details

  • Method Details

    • getStandardCredentials

      public com.cloudbees.plugins.credentials.common.StandardCredentials getStandardCredentials(String url) throws Exception
      Throws:
      Exception
    • getStandardCredentials

      public com.cloudbees.plugins.credentials.common.StandardCredentials getStandardCredentials(String credentialsId, String url) throws Exception
      Throws:
      Exception
    • getStandardCredentials

      @Deprecated public com.cloudbees.plugins.credentials.common.StandardCredentials getStandardCredentials() throws Exception
      Deprecated.
      The Server notification path resolves the credential from the notification config pair via getStandardCredentials(String, String); kept for binary compatibility.
      Throws:
      Exception
    • getSecretTextCredentials

      @Deprecated public org.jenkinsci.plugins.plaincredentials.StringCredentials getSecretTextCredentials() throws Exception
      Deprecated.
      Not used by the notification path; kept for binary compatibility.
      Throws:
      Exception
    • getUrl

      @Deprecated public String getUrl()
      Deprecated.
      SCM URL of the first configured remote; kept for binary compatibility.
    • getGlobalConfig

      protected BitBucketPPRPluginConfig getGlobalConfig()
    • 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)
    • getNotificationConfig

      public BitBucketPPRServerNotificationConfig getNotificationConfig()
    • toString

      public String toString()
      Overrides:
      toString in class Object