Class BitbucketSCMStep.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
org.jenkinsci.plugins.workflow.steps.scm.SCMStep.SCMStepDescriptor
com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMStep.DescriptorImpl
- All Implemented Interfaces:
BitbucketScmFormFill
,BitbucketScmFormValidation
,Saveable
,OnMaster
- Enclosing class:
- BitbucketSCMStep
@Symbol("BitbucketSCMStep")
@Extension
public static class BitbucketSCMStep.DescriptorImpl
extends org.jenkinsci.plugins.workflow.steps.scm.SCMStep.SCMStepDescriptor
implements BitbucketScmFormValidation, BitbucketScmFormFill
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCredentialsId
(Item context, String credentialsId) doCheckProjectName
(Item context, String serverId, String credentialsId, String projectName) doCheckRepositoryName
(Item context, String serverId, String credentialsId, String projectName, String repositoryName) doCheckServerId
(Item context, String serverId) doCheckSshCredentialsId
(Item context, String sshCredentialsId) doFillCredentialsIdItems
(Item context, String baseUrl, String credentialsId) doFillMirrorNameItems
(Item context, String serverId, String credentialsId, String projectName, String repositoryName, String mirrorName) org.kohsuke.stapler.HttpResponse
doFillProjectNameItems
(Item context, String serverId, String credentialsId, String projectName) org.kohsuke.stapler.HttpResponse
doFillRepositoryNameItems
(Item context, String serverId, String credentialsId, String projectName, String repositoryName) doFillServerIdItems
(Item context, String serverId) doFillSshCredentialsIdItems
(Item context, String baseUrl, String sshCredentialsId) doTestConnection
(Item context, String serverId, String credentialsId, String projectName, String repositoryName, String mirrorName) List<hudson.plugins.git.extensions.GitSCMExtensionDescriptor>
List<hudson.plugins.git.GitTool>
boolean
Methods inherited from class org.jenkinsci.plugins.workflow.steps.scm.SCMStep.SCMStepDescriptor
getRequiredContext
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepDescriptor
all, allMeta, argumentsToString, byFunctionName, checkContextAvailability, defineArguments, getMetaStepArgumentType, getProvidedContext, isAdvanced, isMetaStep, metaStepsOf, newInstance, takesImplicitBlockArgument, uninstantiate
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doCheckCredentialsId
@POST public FormValidation doCheckCredentialsId(@AncestorInPath Item context, @QueryParameter String credentialsId) - Specified by:
doCheckCredentialsId
in interfaceBitbucketScmFormValidation
-
doCheckSshCredentialsId
public FormValidation doCheckSshCredentialsId(@AncestorInPath Item context, @QueryParameter String sshCredentialsId) - Specified by:
doCheckSshCredentialsId
in interfaceBitbucketScmFormValidation
-
doCheckProjectName
@POST public FormValidation doCheckProjectName(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName) - Specified by:
doCheckProjectName
in interfaceBitbucketScmFormValidation
-
doCheckRepositoryName
@POST public FormValidation doCheckRepositoryName(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName) - Specified by:
doCheckRepositoryName
in interfaceBitbucketScmFormValidation
-
doCheckServerId
@POST public FormValidation doCheckServerId(@AncestorInPath Item context, @QueryParameter String serverId) - Specified by:
doCheckServerId
in interfaceBitbucketScmFormValidation
-
doTestConnection
public FormValidation doTestConnection(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName, @QueryParameter String mirrorName) - Specified by:
doTestConnection
in interfaceBitbucketScmFormValidation
-
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String baseUrl, @QueryParameter String credentialsId) - Specified by:
doFillCredentialsIdItems
in interfaceBitbucketScmFormFill
-
doFillSshCredentialsIdItems
@POST public ListBoxModel doFillSshCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String baseUrl, @QueryParameter String sshCredentialsId) - Specified by:
doFillSshCredentialsIdItems
in interfaceBitbucketScmFormFill
-
doFillProjectNameItems
@POST public org.kohsuke.stapler.HttpResponse doFillProjectNameItems(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName) - Specified by:
doFillProjectNameItems
in interfaceBitbucketScmFormFill
-
doFillRepositoryNameItems
@POST public org.kohsuke.stapler.HttpResponse doFillRepositoryNameItems(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName) - Specified by:
doFillRepositoryNameItems
in interfaceBitbucketScmFormFill
-
doFillServerIdItems
@POST public ListBoxModel doFillServerIdItems(@AncestorInPath Item context, @QueryParameter String serverId) - Specified by:
doFillServerIdItems
in interfaceBitbucketScmFormFill
-
doFillMirrorNameItems
public ListBoxModel doFillMirrorNameItems(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName, @QueryParameter String mirrorName) - Specified by:
doFillMirrorNameItems
in interfaceBitbucketScmFormFill
-
getExtensionDescriptors
- Specified by:
getExtensionDescriptors
in interfaceBitbucketScmFormFill
-
getFunctionName
- Specified by:
getFunctionName
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getGitTools
- Specified by:
getGitTools
in interfaceBitbucketScmFormFill
-
getShowGitToolOptions
public boolean getShowGitToolOptions()- Specified by:
getShowGitToolOptions
in interfaceBitbucketScmFormFill
-