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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(Item context, String credentialsId)
FormValidation
doCheckProjectName(Item context, String serverId, String credentialsId, String projectName)
FormValidation
doCheckRepositoryName(Item context, String serverId, String credentialsId, String projectName, String repositoryName)
FormValidation
doCheckServerId(Item context, String serverId)
FormValidation
doCheckSshCredentialsId(Item context, String sshCredentialsId)
ListBoxModel
doFillCredentialsIdItems(Item context, String baseUrl, String credentialsId)
ListBoxModel
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)
ListBoxModel
doFillServerIdItems(Item context, String serverId)
ListBoxModel
doFillSshCredentialsIdItems(Item context, String baseUrl, String sshCredentialsId)
FormValidation
doTestConnection(Item context, String serverId, String credentialsId, String projectName, String repositoryName, String mirrorName)
List<hudson.plugins.git.extensions.GitSCMExtensionDescriptor>
getExtensionDescriptors()
String
getFunctionName()
List<hudson.plugins.git.GitTool>
getGitTools()
boolean
getShowGitToolOptions()
-
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
-
-
-
-
Method Detail
-
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
public List<hudson.plugins.git.extensions.GitSCMExtensionDescriptor> getExtensionDescriptors()
- Specified by:
getExtensionDescriptors
in interfaceBitbucketScmFormFill
-
getFunctionName
public String getFunctionName()
- Specified by:
getFunctionName
in classorg.jenkinsci.plugins.workflow.steps.StepDescriptor
-
getGitTools
public List<hudson.plugins.git.GitTool> getGitTools()
- Specified by:
getGitTools
in interfaceBitbucketScmFormFill
-
getShowGitToolOptions
public boolean getShowGitToolOptions()
- Specified by:
getShowGitToolOptions
in interfaceBitbucketScmFormFill
-
-