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.EnhancedCheckMethod
Nested 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 FormValidation
doAuthenticate(String key, String secret)
FormValidation
doCheckId(String value, ModelObject context)
String
getDisplayName()
boolean
isScopeRelevant()
boolean
isScopeRelevant(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, unwrapContext
Methods 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:
getDisplayName
in classDescriptor<com.cloudbees.plugins.credentials.Credentials>
-
isScopeRelevant
public boolean isScopeRelevant()- Overrides:
isScopeRelevant
in classcom.cloudbees.plugins.credentials.CredentialsDescriptor
- Returns:
- always returns false since the scope of Local credentials are always Global.
-
isScopeRelevant
- Overrides:
isScopeRelevant
in 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)
-