Class KsmCredential.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
-
- com.cloudbees.plugins.credentials.CredentialsDescriptor
-
- io.jenkins.plugins.ksm.credential.KsmCredential.DescriptorImpl
-
- Enclosing class:
- KsmCredential
@Extension public static class KsmCredential.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
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckDescription(String description)
FormValidation
doCheckHostname(String hostname)
FormValidation
doCheckToken(String token)
FormValidation
doTestCredential(String hostname, String clientId, String privateKey, String appKey, boolean skipSslVerification)
String
getDisplayName()
String
getIconClassName()
-
Methods inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, 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, 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
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<com.cloudbees.plugins.credentials.Credentials>
-
doCheckToken
public FormValidation doCheckToken(@QueryParameter String token)
-
doCheckHostname
public FormValidation doCheckHostname(@QueryParameter String hostname)
-
doCheckDescription
public FormValidation doCheckDescription(@QueryParameter String description)
-
doTestCredential
@POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doTestCredential(@QueryParameter String hostname, @QueryParameter String clientId, @QueryParameter String privateKey, @QueryParameter String appKey, @QueryParameter boolean skipSslVerification)
-
getIconClassName
public String getIconClassName()
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classcom.cloudbees.plugins.credentials.CredentialsDescriptor
-
-