public class BitbucketSCMNavigator extends jenkins.scm.api.SCMNavigator
Modifier and Type | Class and Description |
---|---|
static class |
BitbucketSCMNavigator.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
PRONOUN
Constructor and Description |
---|
BitbucketSCMNavigator(String repoOwner) |
BitbucketSCMNavigator(String repoOwner,
String credentialsId,
String checkoutCredentialsId)
Deprecated.
|
afterSave, checkInterrupt, defaultListener, fetchActions, getCategories, getDescriptor, getId, getPronoun, isCategoryEnabled, resetId, visitSource, visitSources, visitSources
@DataBoundConstructor public BitbucketSCMNavigator(String repoOwner)
@Deprecated public BitbucketSCMNavigator(String repoOwner, String credentialsId, String checkoutCredentialsId)
@CheckForNull public String getCredentialsId()
public String getRepoOwner()
@NonNull public List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>> getTraits()
getTraits
in class jenkins.scm.api.SCMNavigator
@DataBoundSetter public void setCredentialsId(@CheckForNull String credentialsId)
@DataBoundSetter public void setTraits(@CheckForNull jenkins.scm.api.trait.SCMTrait[] traits)
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)
.traits
- the new behavioural traits.public void setTraits(@CheckForNull List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>> traits)
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)
.setTraits
in class jenkins.scm.api.SCMNavigator
traits
- the new behavioural traits.public String getServerUrl()
@DataBoundSetter public void setServerUrl(String serverUrl)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") @DataBoundSetter public void setPattern(String pattern)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @DataBoundSetter public void setAutoRegisterHooks(boolean autoRegisterHook)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") public boolean isAutoRegisterHooks()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @NonNull public String getCheckoutCredentialsId()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @DataBoundSetter public void setCheckoutCredentialsId(String checkoutCredentialsId)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") public String getPattern()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") @DataBoundSetter public void setBitbucketServerUrl(String url)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @RestrictedSince(value="2.2.0") @CheckForNull public String getBitbucketServerUrl()
@NonNull public String getEndpointJenkinsRootUrl()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @NonNull public String getIncludes()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @DataBoundSetter public void setIncludes(@NonNull String includes)
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @NonNull public String getExcludes()
@Deprecated @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.2.0") @DataBoundSetter public void setExcludes(@NonNull String excludes)
@NonNull protected String id()
id
in class jenkins.scm.api.SCMNavigator
public void visitSources(jenkins.scm.api.SCMSourceObserver observer) throws IOException, InterruptedException
visitSources
in class jenkins.scm.api.SCMNavigator
IOException
InterruptedException
@NonNull public List<Action> retrieveActions(@NonNull jenkins.scm.api.SCMNavigatorOwner owner, @CheckForNull jenkins.scm.api.SCMNavigatorEvent event, @NonNull TaskListener listener) throws IOException, InterruptedException
retrieveActions
in class jenkins.scm.api.SCMNavigator
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.