Package testingbot
Class TestingBotCredentials.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
com.cloudbees.plugins.credentials.CredentialsDescriptor
testingbot.TestingBotCredentials.DescriptorImpl
- Enclosing class:
- TestingBotCredentials
@Extension(ordinal=1.0) public static class TestingBotCredentials.DescriptorImpl extends com.cloudbees.plugins.credentials.CredentialsDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
com.cloudbees.plugins.credentials.CredentialsDescriptor.EnhancedCheckMethodNested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()DescriptorImpl(Class<? extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials> clazz) -
Method Summary
Modifier and Type Method Description FormValidationdoAuthenticate(String key, String secret)FormValidationdoCheckId(String value, ModelObject context)StringgetDisplayName()booleanisScopeRelevant()booleanisScopeRelevant(ModelObject object)Methods inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, getIconClassName, isApplicable, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, lookupContext, unwrapContextMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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() -
DescriptorImpl
public DescriptorImpl(Class<? extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials> clazz)
-
-
Method Details
-
doAuthenticate
public final FormValidation doAuthenticate(@QueryParameter("key") String key, @QueryParameter("secret") String secret) -
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<com.cloudbees.plugins.credentials.Credentials>
-
isScopeRelevant
public boolean isScopeRelevant()- Overrides:
isScopeRelevantin classcom.cloudbees.plugins.credentials.CredentialsDescriptor- Returns:
- always returns false since the scope of Local credentials are always Global.
-
isScopeRelevant
- Overrides:
isScopeRelevantin classcom.cloudbees.plugins.credentials.CredentialsDescriptor- Returns:
- always returns false since the scope of Local credentials are always Global.
-
doCheckId
public final FormValidation doCheckId(@QueryParameter String value, @AncestorInPath ModelObject context)
-