Package com.cloudogu.scmmanager.scm
Class ScmManagerSourceDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<jenkins.scm.api.SCMSource>
-
- jenkins.scm.api.SCMSourceDescriptor
-
- com.cloudogu.scmmanager.scm.ScmManagerSourceDescriptor
-
- Direct Known Subclasses:
ScmManagerSource.DescriptorImpl
,ScmManagerSvnSource.DescriptorImpl
public class ScmManagerSourceDescriptor extends jenkins.scm.api.SCMSourceDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description protected ScmManagerApiFactory
apiFactory
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ListBoxModel.Option
createRepositoryOption(Repository repository)
FormValidation
doCheckCredentialsId(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String value)
FormValidation
doCheckServerUrl(String value)
ListBoxModel
doFillCredentialsIdItems(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String value)
ListBoxModel
doFillRepositoryItems(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String credentialsId, String value)
ListBoxModel
fillRepositoryItems(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String credentialsId, String value)
String
getIconClassName()
-
Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
createCategories, forOwner, forOwner, forOwner, forOwner, getCategories, getId, getPronoun, getTraitsDefaults, isApplicable, isUserInstantiable
-
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
-
-
-
-
Field Detail
-
apiFactory
protected final ScmManagerApiFactory apiFactory
-
-
Method Detail
-
doCheckServerUrl
public FormValidation doCheckServerUrl(@QueryParameter String value) throws InterruptedException, ExecutionException
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String value) throws InterruptedException, ExecutionException
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String value)
-
doFillRepositoryItems
public ListBoxModel doFillRepositoryItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String value) throws InterruptedException, ExecutionException
-
fillRepositoryItems
public ListBoxModel fillRepositoryItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String value) throws InterruptedException, ExecutionException
-
createRepositoryOption
protected ListBoxModel.Option createRepositoryOption(Repository repository)
-
getIconClassName
public String getIconClassName()
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classjenkins.scm.api.SCMSourceDescriptor
-
-