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
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMNavigator
PRONOUN
-
Constructor Summary
ConstructorDescriptionBitbucketSCMNavigator
(String repoOwner) BitbucketSCMNavigator
(String repoOwner, String credentialsId, String checkoutCredentialsId) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>>
protected String
id()
boolean
Deprecated.retrieveActions
(jenkins.scm.api.SCMNavigatorOwner owner, jenkins.scm.api.SCMNavigatorEvent event, TaskListener listener) void
setAutoRegisterHooks
(boolean autoRegisterHook) Deprecated.void
Deprecated.void
setCheckoutCredentialsId
(String checkoutCredentialsId) Deprecated.void
setCredentialsId
(String credentialsId) void
setExcludes
(String excludes) Deprecated.void
setIncludes
(String includes) Deprecated.void
setMirrorId
(String mirrorId) void
setPattern
(String pattern) Deprecated.void
setProjectKey
(String projectKey) void
setServerUrl
(String serverUrl) void
Sets the behavioural traits that are applied to this navigator and anyBitbucketSCMSource
instances it discovers.void
setTraits
(jenkins.scm.api.trait.SCMTrait[] traits) Sets the behavioural traits that are applied to this navigator and anyBitbucketSCMSource
instances it discovers.void
visitSources
(jenkins.scm.api.SCMSourceObserver observer) Methods inherited from class jenkins.scm.api.SCMNavigator
afterSave, checkInterrupt, defaultListener, fetchActions, getCategories, getDescriptor, getId, getPronoun, isCategoryEnabled, resetId, visitSource, visitSources, visitSources
-
Constructor Details
-
BitbucketSCMNavigator
-
BitbucketSCMNavigator
@Deprecated public BitbucketSCMNavigator(String repoOwner, String credentialsId, String checkoutCredentialsId) Deprecated.
-
-
Method Details
-
getCredentialsId
-
getMirrorId
-
getRepoOwner
-
getProjectKey
-
setProjectKey
-
getTraits
@NonNull public List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>> getTraits()- Overrides:
getTraits
in classjenkins.scm.api.SCMNavigator
-
setCredentialsId
-
setMirrorId
-
setTraits
@DataBoundSetter public void setTraits(@CheckForNull jenkins.scm.api.trait.SCMTrait[] traits) Sets the behavioural traits that are applied to this navigator and anyBitbucketSCMSource
instances it discovers. The new traits will take effect on the next navigation through any of thevisitSources(SCMSourceObserver)
overloads orSCMNavigator.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 anyBitbucketSCMSource
instances it discovers. The new traits will take effect on the next navigation through any of thevisitSources(SCMSourceObserver)
overloads orSCMNavigator.visitSource(String, SCMSourceObserver)
.- Overrides:
setTraits
in classjenkins.scm.api.SCMNavigator
- Parameters:
traits
- the new behavioural traits.
-
getServerUrl
-
setServerUrl
-
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
-
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
- Specified by:
id
in classjenkins.scm.api.SCMNavigator
-
visitSources
public void visitSources(jenkins.scm.api.SCMSourceObserver observer) throws IOException, InterruptedException - Specified by:
visitSources
in classjenkins.scm.api.SCMNavigator
- Throws:
IOException
InterruptedException
-