Package io.jenkins.plugins.casc.core
Class UpdateSiteConfigurator
- java.lang.Object
-
- io.jenkins.plugins.casc.BaseConfigurator<UpdateSite>
-
- io.jenkins.plugins.casc.core.UpdateSiteConfigurator
-
- All Implemented Interfaces:
Configurator<UpdateSite>
@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class UpdateSiteConfigurator extends BaseConfigurator<UpdateSite>
TODO would not be required if UpdateSite had a DataBoundConstructor- Author:
- Nicolas De Loof
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.jenkins.plugins.casc.BaseConfigurator
BaseConfigurator.TypePair
-
-
Constructor Summary
Constructors Constructor Description UpdateSiteConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Attribute<UpdateSite,?>>
describe()
Determine the list of Attribute available for configuration of the managed component.Class<UpdateSite>
getTarget()
Target type this configurator can handle.protected UpdateSite
instance(Mapping mapping, ConfigurationContext context)
Build or identify the target component this configurator has to handle based on the provided configuration node.-
Methods inherited from class io.jenkins.plugins.casc.BaseConfigurator
check, compare, configure, 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, describe, describeStructure, getAttributes, getConfigurators, getDisplayName, getImplementedAPI, getName, getNames
-
-
-
-
Method Detail
-
getTarget
public Class<UpdateSite> getTarget()
Description copied from interface:Configurator
Target type this configurator can handle.
-
instance
protected UpdateSite instance(Mapping mapping, ConfigurationContext context) throws ConfiguratorException
Description copied from class:BaseConfigurator
Build or identify the target component this configurator has to handle based on the provided configuration node.- Specified by:
instance
in classBaseConfigurator<UpdateSite>
- Parameters:
mapping
- configuration for target component. Implementation may consume some entries to create a fresh new instance.- Returns:
- instance to be configured, but not yet fully configured, see
BaseConfigurator.configure(Mapping, Object, boolean, ConfigurationContext)
- Throws:
ConfiguratorException
-
describe
@NonNull public Set<Attribute<UpdateSite,?>> describe()
Description copied from interface:Configurator
Determine the list of Attribute available for configuration of the managed component.- Specified by:
describe
in interfaceConfigurator<UpdateSite>
- Overrides:
describe
in classBaseConfigurator<UpdateSite>
- Returns:
- A set of
Attribute
s that describes this object
-
-