Class 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.
    • Constructor Detail

      • GerritJcascConfigurator

        public GerritJcascConfigurator()
        Empty constructor.
    • Method Detail

      • instance

        protected PluginImpl instance​(io.jenkins.plugins.casc.model.Mapping mapping,
                                      io.jenkins.plugins.casc.ConfigurationContext configurationContext)
        Specified by:
        instance in class io.jenkins.plugins.casc.BaseConfigurator<PluginImpl>
      • getName

        @NonNull
        public String getName()
      • getDisplayName

        public String getDisplayName()
      • 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 class io.jenkins.plugins.casc.BaseConfigurator<PluginImpl>
        Throws:
        io.jenkins.plugins.casc.ConfiguratorException