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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMNavigator
PRONOUN
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketSCMNavigator
(String repoOwner) BitbucketSCMNavigator
(String repoOwner, String credentialsId, String checkoutCredentialsId) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionList<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>>
protected String
id()
retrieveActions
(jenkins.scm.api.SCMNavigatorOwner owner, jenkins.scm.api.SCMNavigatorEvent event, TaskListener listener) void
setCredentialsId
(String credentialsId) void
setMirrorId
(String mirrorId) 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
-
getEndpointJenkinsRootUrl
-
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
-