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 ofBaseStandardCredentials
.<st:include page="id-and-description" class="${descriptor.clazz}"/>
incredentials.jelly
to pick up standard controls forDescriptor.getId()
andBaseStandardCredentials.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
Constructors Modifier Constructor Description protected
BaseStandardCredentialsDescriptor()
protected
BaseStandardCredentialsDescriptor(Class<? extends BaseStandardCredentials> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckId(ModelObject context, String value)
String
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, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
BaseStandardCredentialsDescriptor
protected BaseStandardCredentialsDescriptor()
-
BaseStandardCredentialsDescriptor
protected BaseStandardCredentialsDescriptor(Class<? extends BaseStandardCredentials> clazz)
-
-
Method Detail
-
getCheckIdUrl
public String getCheckIdUrl(CredentialsStore store) throws UnsupportedEncodingException
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)
-
-