Class RoleBasedAuthorizationStrategyConfigurator
java.lang.Object
io.jenkins.plugins.casc.BaseConfigurator<RoleBasedAuthorizationStrategy>
org.jenkinsci.plugins.rolestrategy.casc.RoleBasedAuthorizationStrategyConfigurator
- All Implemented Interfaces:
io.jenkins.plugins.casc.Configurator<RoleBasedAuthorizationStrategy>
@Extension(optional=true,
ordinal=2.0)
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class RoleBasedAuthorizationStrategyConfigurator
extends io.jenkins.plugins.casc.BaseConfigurator<RoleBasedAuthorizationStrategy>
Provides the configuration logic for Role Strategy plugin.
- Since:
- 2.11
- Author:
- Oleg Nenashev
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.casc.BaseConfigurator
io.jenkins.plugins.casc.BaseConfigurator.TypePair
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configure
(io.jenkins.plugins.casc.model.Mapping config, RoleBasedAuthorizationStrategy instance, boolean dryrun, io.jenkins.plugins.casc.ConfigurationContext context) Set<io.jenkins.plugins.casc.Attribute<RoleBasedAuthorizationStrategy,
?>> describe()
io.jenkins.plugins.casc.model.CNode
describe
(RoleBasedAuthorizationStrategy instance, io.jenkins.plugins.casc.ConfigurationContext context) getName()
protected RoleBasedAuthorizationStrategy
instance
(io.jenkins.plugins.casc.model.Mapping map, io.jenkins.plugins.casc.ConfigurationContext context) Methods inherited from class io.jenkins.plugins.casc.BaseConfigurator
check, compare, configure, createAttribute, equals, exclusions, handleUnknown, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.casc.Configurator
canConfigure, describeStructure, getAttributes, getConfigurators, getDisplayName, getNames
-
Constructor Details
-
RoleBasedAuthorizationStrategyConfigurator
public RoleBasedAuthorizationStrategyConfigurator()
-
-
Method Details
-
getName
-
getTarget
-
getImplementedAPI
-
instance
protected RoleBasedAuthorizationStrategy instance(io.jenkins.plugins.casc.model.Mapping map, io.jenkins.plugins.casc.ConfigurationContext context) throws io.jenkins.plugins.casc.ConfiguratorException - Specified by:
instance
in classio.jenkins.plugins.casc.BaseConfigurator<RoleBasedAuthorizationStrategy>
- Throws:
io.jenkins.plugins.casc.ConfiguratorException
-
configure
protected void configure(io.jenkins.plugins.casc.model.Mapping config, RoleBasedAuthorizationStrategy instance, boolean dryrun, io.jenkins.plugins.casc.ConfigurationContext context) throws io.jenkins.plugins.casc.ConfiguratorException - Overrides:
configure
in classio.jenkins.plugins.casc.BaseConfigurator<RoleBasedAuthorizationStrategy>
- Throws:
io.jenkins.plugins.casc.ConfiguratorException
-
describe
- Specified by:
describe
in interfaceio.jenkins.plugins.casc.Configurator<RoleBasedAuthorizationStrategy>
- Overrides:
describe
in classio.jenkins.plugins.casc.BaseConfigurator<RoleBasedAuthorizationStrategy>
-
describe
@CheckForNull public io.jenkins.plugins.casc.model.CNode describe(RoleBasedAuthorizationStrategy instance, io.jenkins.plugins.casc.ConfigurationContext context) throws Exception - Throws:
Exception
-