Class BaseStandardCredentials.BaseStandardCredentialsDescriptor
java.lang.Object
hudson.model.Descriptor<Credentials>
com.cloudbees.plugins.credentials.CredentialsDescriptor
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
- Direct Known Subclasses:
CertificateCredentialsImpl.DescriptorImpl
,UsernamePasswordCredentialsImpl.DescriptorImpl
- Enclosing class:
- BaseStandardCredentials
protected abstract static class BaseStandardCredentials.BaseStandardCredentialsDescriptor
extends CredentialsDescriptor
Descriptor to use for subclasses of
BaseStandardCredentials
.
<st:include page="id-and-description" class="${descriptor.clazz}"/>
in credentials.jelly
to
pick up standard controls for Descriptor.getId()
and BaseStandardCredentials.getDescription()
.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
CredentialsDescriptor.EnhancedCheckMethod
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
ModifierConstructorDescriptionprotected
protected
BaseStandardCredentialsDescriptor
(Class<? extends BaseStandardCredentials> clazz) -
Method Summary
Modifier and TypeMethodDescriptionfinal FormValidation
doCheckId
(ModelObject context, String value) getCheckIdUrl
(CredentialsStore store) Gets the check id url for the specified store.Methods inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, getIconClassName, isApplicable, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, lookupContext, unwrapContext
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
BaseStandardCredentialsDescriptor
protected BaseStandardCredentialsDescriptor() -
BaseStandardCredentialsDescriptor
-
-
Method Details
-
getCheckIdUrl
Gets the check id url for the specified store.- Parameters:
store
- the store.- Returns:
- the url of the id check endpoint.
- Throws:
UnsupportedEncodingException
- if the JVM does not implement the JLS.
-
doCheckId
public final FormValidation doCheckId(@ContextInPath ModelObject context, @QueryParameter String value)
-