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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.List<jenkins.scm.api.trait.SCMTrait<? extends jenkins.scm.api.trait.SCMTrait<?>>>protected Stringid()retrieveActions(jenkins.scm.api.SCMNavigatorOwner owner, jenkins.scm.api.SCMNavigatorEvent event, TaskListener listener) voidsetCredentialsId(String credentialsId) voidsetMirrorId(String mirrorId) voidsetProjectKey(String projectKey) voidsetServerUrl(String serverURL) voidSets the behavioural traits that are applied to this navigator and anyBitbucketSCMSourceinstances it discovers.voidsetTraits(jenkins.scm.api.trait.SCMTrait[] traits) Sets the behavioural traits that are applied to this navigator and anyBitbucketSCMSourceinstances it discovers.voidvisitSources(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:
getTraitsin 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 anyBitbucketSCMSourceinstances 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 anyBitbucketSCMSourceinstances it discovers. The new traits will take effect on the next navigation through any of thevisitSources(SCMSourceObserver)overloads orSCMNavigator.visitSource(String, SCMSourceObserver).- Overrides:
setTraitsin classjenkins.scm.api.SCMNavigator- Parameters:
traits- the new behavioural traits.
-
getServerUrl
-
setServerUrl
-
getEndpointJenkinsRootUrl
Deprecated, for removal: This API element is subject to removal in a future version. -
id
- Specified by:
idin classjenkins.scm.api.SCMNavigator
-
visitSources
public void visitSources(jenkins.scm.api.SCMSourceObserver observer) throws IOException, InterruptedException - Specified by:
visitSourcesin classjenkins.scm.api.SCMNavigator- Throws:
IOExceptionInterruptedException
-