Package io.jenkins.plugins.casc
Interface RootElementConfigurator<T>
-
- All Superinterfaces:
Configurator<T>
- All Known Implementing Classes:
DescriptorConfigurator
,GlobalConfigurationCategoryConfigurator
,JenkinsConfigurator
,SelfConfigurator
public interface RootElementConfigurator<T> extends Configurator<T>
Define aConfigurator
which handles a root configuration element, identified by name. Note: we assume any configurator here will use a unique name for root element.- Author:
- Nicolas De Loof
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static List<RootElementConfigurator>
all()
T
getTargetComponent(ConfigurationContext context)
Retrieve the target component managed by this RootElementConfiguratordefault boolean
isRootElement()
-
Methods inherited from interface io.jenkins.plugins.casc.Configurator
canConfigure, check, configure, describe, describe, describeStructure, getAttributes, getConfigurators, getDisplayName, getImplementedAPI, getName, getNames, getTarget
-
-
-
-
Method Detail
-
all
static List<RootElementConfigurator> all()
-
isRootElement
default boolean isRootElement()
-
getTargetComponent
T getTargetComponent(ConfigurationContext context)
Retrieve the target component managed by this RootElementConfigurator- Parameters:
context
-- Returns:
-
-