Package io.jenkins.plugins.casc.core
Class JenkinsConfigurator
- All Implemented Interfaces:
 Configurator<Jenkins>,RootElementConfigurator<Jenkins>
@Extension(ordinal=1.0)
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class JenkinsConfigurator
extends BaseConfigurator<Jenkins>
implements RootElementConfigurator<Jenkins>
- Author:
 - Nicolas De Loof
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.casc.BaseConfigurator
BaseConfigurator.TypePair - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondescribe()Determine the list of Attribute available for configuration of the managed component.Attribute names that are detected by introspection but should be excludedgetName()Get a configurator name.Target type this configurator can handle.getTargetComponent(ConfigurationContext context) Retrieve the target component managed by this RootElementConfiguratorprotected Jenkinsinstance(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, handleUnknown, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jenkins.plugins.casc.Configurator
canConfigure, check, configure, describe, describeStructure, getAttributes, getConfigurators, getDisplayName, getImplementedAPI, getNamesMethods inherited from interface io.jenkins.plugins.casc.RootElementConfigurator
isRootElement 
- 
Constructor Details
- 
JenkinsConfigurator
public JenkinsConfigurator() 
 - 
 - 
Method Details
- 
getTarget
Description copied from interface:ConfiguratorTarget type this configurator can handle.- Specified by:
 getTargetin interfaceConfigurator<Jenkins>
 - 
getTargetComponent
Description copied from interface:RootElementConfiguratorRetrieve the target component managed by this RootElementConfigurator- Specified by:
 getTargetComponentin interfaceRootElementConfigurator<Jenkins>- Returns:
 
 - 
instance
Description copied from class:BaseConfiguratorBuild or identify the target component this configurator has to handle based on the provided configuration node.- Specified by:
 instancein classBaseConfigurator<Jenkins>- Parameters:
 mapping- configuration for target component. Implementation may consume some entries to create a fresh new instance.context- Fully configured Jenkins object used as the starting point for this configuration.- Returns:
 - instance to be configured, but not yet fully configured, see 
BaseConfigurator.configure(Mapping, Object, boolean, ConfigurationContext) 
 - 
describe
Description copied from interface:ConfiguratorDetermine the list of Attribute available for configuration of the managed component.- Specified by:
 describein interfaceConfigurator<Jenkins>- Overrides:
 describein classBaseConfigurator<Jenkins>- Returns:
 - A set of 
Attributes that describes this object 
 - 
exclusions
Description copied from class:BaseConfiguratorAttribute names that are detected by introspection but should be excluded- Overrides:
 exclusionsin classBaseConfigurator<Jenkins>
 - 
getName
Description copied from interface:ConfiguratorGet a configurator name. This should return the default name for the configurator, used for exporting yaml seeConfigurator.getNames()for all possible names which will be considered when configuring.- Specified by:
 getNamein interfaceConfigurator<Jenkins>- Returns:
 - short name for this component when used in a configuration.yaml file
 
 
 -