Class CredentialRules.CredentialRulesDescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<CredentialRules>
-
- io.jenkins.plugins.enhanced.credentials.CredentialRules.CredentialRulesDescriptorImpl
-
- All Implemented Interfaces:
Saveable
,io.jenkins.plugins.casc.Configurator<CredentialRules>
,io.jenkins.plugins.casc.RootElementConfigurator<CredentialRules>
,OnMaster
- Enclosing class:
- CredentialRules
@Extension public static final class CredentialRules.CredentialRulesDescriptorImpl extends Descriptor<CredentialRules> implements io.jenkins.plugins.casc.RootElementConfigurator<CredentialRules>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description List<CredentialRule>
credentialRuleList
Boolean
restrictNotMatching
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description CredentialRulesDescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialRules
check(io.jenkins.plugins.casc.model.CNode config, io.jenkins.plugins.casc.ConfigurationContext context)
CredentialRules
configure(io.jenkins.plugins.casc.model.CNode config, io.jenkins.plugins.casc.ConfigurationContext context)
boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject submittedForm)
Set<io.jenkins.plugins.casc.Attribute<CredentialRules,?>>
describe()
CredentialRules
getCredentialRules()
String
getDisplayName()
Class<CredentialRules>
getTarget()
CredentialRules
getTargetComponent(io.jenkins.plugins.casc.ConfigurationContext context)
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
credentialRuleList
public List<CredentialRule> credentialRuleList
-
restrictNotMatching
public Boolean restrictNotMatching
-
-
Method Detail
-
getCredentialRules
public CredentialRules getCredentialRules()
-
getDisplayName
@NonNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceio.jenkins.plugins.casc.Configurator<CredentialRules>
- Overrides:
getDisplayName
in classDescriptor<CredentialRules>
-
getTarget
public Class<CredentialRules> getTarget()
- Specified by:
getTarget
in interfaceio.jenkins.plugins.casc.Configurator<CredentialRules>
-
describe
@NonNull public Set<io.jenkins.plugins.casc.Attribute<CredentialRules,?>> describe()
- Specified by:
describe
in interfaceio.jenkins.plugins.casc.Configurator<CredentialRules>
-
configure
@NonNull public CredentialRules configure(io.jenkins.plugins.casc.model.CNode config, io.jenkins.plugins.casc.ConfigurationContext context) throws io.jenkins.plugins.casc.ConfiguratorException
- Specified by:
configure
in interfaceio.jenkins.plugins.casc.Configurator<CredentialRules>
- Throws:
io.jenkins.plugins.casc.ConfiguratorException
-
check
public CredentialRules check(io.jenkins.plugins.casc.model.CNode config, io.jenkins.plugins.casc.ConfigurationContext context) throws io.jenkins.plugins.casc.ConfiguratorException
- Specified by:
check
in interfaceio.jenkins.plugins.casc.Configurator<CredentialRules>
- Throws:
io.jenkins.plugins.casc.ConfiguratorException
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject submittedForm) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<CredentialRules>
- Throws:
Descriptor.FormException
-
getTargetComponent
public CredentialRules getTargetComponent(io.jenkins.plugins.casc.ConfigurationContext context)
- Specified by:
getTargetComponent
in interfaceio.jenkins.plugins.casc.RootElementConfigurator<CredentialRules>
-
-