Class BitbucketSCMNavigator

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.scm.api.SCMNavigator>
jenkins.scm.api.SCMNavigator
com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.SCMNavigator>

public class BitbucketSCMNavigator extends jenkins.scm.api.SCMNavigator
  • Constructor Details

    • BitbucketSCMNavigator

      @DataBoundConstructor public BitbucketSCMNavigator(String repoOwner)
    • BitbucketSCMNavigator

      @Deprecated public BitbucketSCMNavigator(String repoOwner, String credentialsId, String checkoutCredentialsId)
      Deprecated.
  • Method Details

    • getCredentialsId

      @CheckForNull public String getCredentialsId()
    • getMirrorId

      @CheckForNull public String getMirrorId()
    • getRepoOwner

      public String getRepoOwner()
    • getProjectKey

      public String getProjectKey()
    • setProjectKey

      @DataBoundSetter public void setProjectKey(@CheckForNull String projectKey)
    • getTraits

      @NonNull public List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>> getTraits()
      Overrides:
      getTraits in class jenkins.scm.api.SCMNavigator
    • setCredentialsId

      @DataBoundSetter public void setCredentialsId(@CheckForNull String credentialsId)
    • setMirrorId

      @DataBoundSetter public void setMirrorId(String mirrorId)
    • setTraits

      @DataBoundSetter public void setTraits(@CheckForNull jenkins.scm.api.trait.SCMTrait[] traits)
      Sets the behavioural traits that are applied to this navigator and any BitbucketSCMSource instances it discovers. The new traits will take effect on the next navigation through any of the visitSources(SCMSourceObserver) overloads or SCMNavigator.visitSource(String, SCMSourceObserver).
      Parameters:
      traits - the new behavioural traits.
    • setTraits

      public void setTraits(@CheckForNull List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>> traits)
      Sets the behavioural traits that are applied to this navigator and any BitbucketSCMSource instances it discovers. The new traits will take effect on the next navigation through any of the visitSources(SCMSourceObserver) overloads or SCMNavigator.visitSource(String, SCMSourceObserver).
      Overrides:
      setTraits in class jenkins.scm.api.SCMNavigator
      Parameters:
      traits - the new behavioural traits.
    • getServerUrl

      public String getServerUrl()
    • setServerUrl

      @DataBoundSetter public void setServerUrl(String serverUrl)
    • setPattern

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.2.0") @DataBoundSetter public void setPattern(String pattern)
      Deprecated.
    • setAutoRegisterHooks

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @DataBoundSetter public void setAutoRegisterHooks(boolean autoRegisterHook)
      Deprecated.
    • isAutoRegisterHooks

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") public boolean isAutoRegisterHooks()
      Deprecated.
    • getCheckoutCredentialsId

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @NonNull public String getCheckoutCredentialsId()
      Deprecated.
    • setCheckoutCredentialsId

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @DataBoundSetter public void setCheckoutCredentialsId(String checkoutCredentialsId)
      Deprecated.
    • getPattern

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.2.0") public String getPattern()
      Deprecated.
    • setBitbucketServerUrl

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.2.0") @DataBoundSetter public void setBitbucketServerUrl(String url)
      Deprecated.
    • getBitbucketServerUrl

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince("2.2.0") @CheckForNull public String getBitbucketServerUrl()
      Deprecated.
    • getEndpointJenkinsRootUrl

      @NonNull public String getEndpointJenkinsRootUrl()
    • getIncludes

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @NonNull public String getIncludes()
      Deprecated.
    • setIncludes

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @DataBoundSetter public void setIncludes(@NonNull String includes)
      Deprecated.
    • getExcludes

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @NonNull public String getExcludes()
      Deprecated.
    • setExcludes

      @Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince("2.2.0") @DataBoundSetter public void setExcludes(@NonNull String excludes)
      Deprecated.
    • id

      @NonNull protected String id()
      Specified by:
      id in class jenkins.scm.api.SCMNavigator
    • visitSources

      public void visitSources(jenkins.scm.api.SCMSourceObserver observer) throws IOException, InterruptedException
      Specified by:
      visitSources in class jenkins.scm.api.SCMNavigator
      Throws:
      IOException
      InterruptedException
    • retrieveActions

      @NonNull public List<Action> retrieveActions(@NonNull jenkins.scm.api.SCMNavigatorOwner owner, @CheckForNull jenkins.scm.api.SCMNavigatorEvent event, @NonNull TaskListener listener) throws IOException, InterruptedException
      Overrides:
      retrieveActions in class jenkins.scm.api.SCMNavigator
      Throws:
      IOException
      InterruptedException