Class CredentialRule.CredentialRuleDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<CredentialRule>
-
- io.jenkins.plugins.enhanced.credentials.CredentialRule.CredentialRuleDescriptor
-
- Enclosing class:
- CredentialRule
@Extension public static final class CredentialRule.CredentialRuleDescriptor extends Descriptor<CredentialRule>
-
-
Nested Class Summary
-
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 CredentialRuleDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
FormValidation
doCheckCredentialPattern(String value)
FormValidation
doCheckItemPattern(String value)
FormValidation
doCheckName(String value)
String
getDisplayName()
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, 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<CredentialRule>
-
doCheckName
public FormValidation doCheckName(@QueryParameter String value)
-
doCheckCredentialPattern
public FormValidation doCheckCredentialPattern(@QueryParameter String value)
-
doCheckItemPattern
public FormValidation doCheckItemPattern(@QueryParameter String value)
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<CredentialRule>
- Throws:
Descriptor.FormException
-
-