Class GerritJcascConfigurator.ServerConfigurator
- java.lang.Object
-
- io.jenkins.plugins.casc.BaseConfigurator<GerritServer>
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.config.GerritJcascConfigurator.ServerConfigurator
-
- All Implemented Interfaces:
io.jenkins.plugins.casc.Configurator<GerritServer>
- Enclosing class:
- GerritJcascConfigurator
@Extension(optional=true) public static final class GerritJcascConfigurator.ServerConfigurator extends io.jenkins.plugins.casc.BaseConfigurator<GerritServer>
Inject `config` field explicitly as BaseConfigurator cannot detect this ("type is abstract but not Describable"). The methods are using interface, but we have to point the `config` property to concrete class.
-
-
Constructor Summary
Constructors Constructor Description ServerConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<io.jenkins.plugins.casc.Attribute<GerritServer,?>>
describe()
Class<GerritServer>
getTarget()
protected GerritServer
instance(io.jenkins.plugins.casc.model.Mapping mapping, io.jenkins.plugins.casc.ConfigurationContext context)
-
Methods inherited from class io.jenkins.plugins.casc.BaseConfigurator
check, compare, configure, configure, createAttribute, equals, exclusions, handleUnknown, hashCode
-
-
-
-
Method Detail
-
instance
protected GerritServer instance(io.jenkins.plugins.casc.model.Mapping mapping, io.jenkins.plugins.casc.ConfigurationContext context)
- Specified by:
instance
in classio.jenkins.plugins.casc.BaseConfigurator<GerritServer>
-
getTarget
public Class<GerritServer> getTarget()
-
describe
public Set<io.jenkins.plugins.casc.Attribute<GerritServer,?>> describe()
- Specified by:
describe
in interfaceio.jenkins.plugins.casc.Configurator<GerritServer>
- Overrides:
describe
in classio.jenkins.plugins.casc.BaseConfigurator<GerritServer>
-
-