com.browserstack.automate.ci.jenkins
Class BrowserStackCredentials.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
      extended by com.cloudbees.plugins.credentials.CredentialsDescriptor
          extended by com.browserstack.automate.ci.jenkins.BrowserStackCredentials.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
BrowserStackCredentials

@Extension(ordinal=1.0)
public static class BrowserStackCredentials.DescriptorImpl
extends com.cloudbees.plugins.credentials.CredentialsDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
BrowserStackCredentials.DescriptorImpl()
           
BrowserStackCredentials.DescriptorImpl(Class<? extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials> clazz)
           
 
Method Summary
 hudson.util.FormValidation doAuthenticate(String username, String accesskey)
           
 hudson.util.FormValidation doCheckId(String value, hudson.model.ModelObject context)
           
 String getDisplayName()
           
 boolean isScopeRelevant()
           
 boolean isScopeRelevant(hudson.model.ModelObject object)
           
 
Methods inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
doFillScopeItems, getCredentialsPage
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserStackCredentials.DescriptorImpl

public BrowserStackCredentials.DescriptorImpl()

BrowserStackCredentials.DescriptorImpl

public BrowserStackCredentials.DescriptorImpl(Class<? extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials> clazz)
Method Detail

doAuthenticate

public final hudson.util.FormValidation doAuthenticate(@QueryParameter(value="username")
                                                       String username,
                                                       @QueryParameter(value="accesskey")
                                                       String accesskey)

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.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(hudson.model.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 hudson.util.FormValidation doCheckId(@QueryParameter
                                                  String value,
                                                  @AncestorInPath
                                                  hudson.model.ModelObject context)


Copyright © 2004-2016. All Rights Reserved.