Package testingbot

Class TestingBotCredentials.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
com.cloudbees.plugins.credentials.CredentialsDescriptor
testingbot.TestingBotCredentials.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster, IconSpec
Enclosing class:
TestingBotCredentials

@Extension(ordinal=1.0)
public static class TestingBotCredentials.DescriptorImpl
extends com.cloudbees.plugins.credentials.CredentialsDescriptor
  • 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

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<com.cloudbees.plugins.credentials.Credentials>
    • isScopeRelevant

      public boolean isScopeRelevant()
      Overrides:
      isScopeRelevant in class com.cloudbees.plugins.credentials.CredentialsDescriptor
      Returns:
      always returns false since the scope of Local credentials are always Global.
    • isScopeRelevant

      public boolean isScopeRelevant​(ModelObject object)
      Overrides:
      isScopeRelevant in class com.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)