Class GerritJcascConfigurator
- java.lang.Object
-
- io.jenkins.plugins.casc.BaseConfigurator<PluginImpl>
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.config.GerritJcascConfigurator
-
- All Implemented Interfaces:
io.jenkins.plugins.casc.Configurator<PluginImpl>
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension(optional=true) public class GerritJcascConfigurator extends io.jenkins.plugins.casc.BaseConfigurator<PluginImpl>
Configure JCasC.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GerritJcascConfigurator.ServerConfigurator
Inject `config` field explicitly as BaseConfigurator cannot detect this ("type is abstract but not Describable").static class
GerritJcascConfigurator.TimeSpanConfigurator
ConfigureWatchTimeExceptionData.TimeSpan
.static class
GerritJcascConfigurator.WatchTimeExceptionDataConfigurator
Cannot use BaseConfigurator asWatchTimeExceptionData
is immutable.
-
Constructor Summary
Constructors Constructor Description GerritJcascConfigurator()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure(io.jenkins.plugins.casc.model.Mapping config, PluginImpl instance, boolean dryrun, io.jenkins.plugins.casc.ConfigurationContext context)
String
getDisplayName()
String
getName()
Class<PluginImpl>
getTarget()
protected PluginImpl
instance(io.jenkins.plugins.casc.model.Mapping mapping, io.jenkins.plugins.casc.ConfigurationContext configurationContext)
-
Methods inherited from class io.jenkins.plugins.casc.BaseConfigurator
check, compare, configure, createAttribute, describe, equals, exclusions, handleUnknown, hashCode
-
-
-
-
Method Detail
-
instance
protected PluginImpl instance(io.jenkins.plugins.casc.model.Mapping mapping, io.jenkins.plugins.casc.ConfigurationContext configurationContext)
- Specified by:
instance
in classio.jenkins.plugins.casc.BaseConfigurator<PluginImpl>
-
getName
@NonNull public String getName()
-
getDisplayName
public String getDisplayName()
-
getTarget
public Class<PluginImpl> getTarget()
-
configure
protected void configure(io.jenkins.plugins.casc.model.Mapping config, PluginImpl instance, boolean dryrun, io.jenkins.plugins.casc.ConfigurationContext context) throws io.jenkins.plugins.casc.ConfiguratorException
- Overrides:
configure
in classio.jenkins.plugins.casc.BaseConfigurator<PluginImpl>
- Throws:
io.jenkins.plugins.casc.ConfiguratorException
-
-