Package io.jenkins.plugins.casc
Interface ConfiguratorRegistry
- All Known Implementing Classes:
 ConfigurationContext,DefaultConfiguratorRegistry
public interface ConfiguratorRegistry
A Registry to allow 
Configurators retrieval.- Author:
 - Nicolas De Loof
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic ConfiguratorRegistryget()Retrieve default implementation from Jenkins<T> Configurator<T>Retrieve aConfiguratorfor target type.<T> Configurator<T>lookupOrFail(Type type) null-safe flavour oflookup(Type).lookupRootElement(String name) Retrieve aRootElementConfiguratorby it's yaml element (key) name. 
- 
Method Details
- 
lookupRootElement
Retrieve aRootElementConfiguratorby it's yaml element (key) name.- Parameters:
 name-- Returns:
 nullif we don't know anyRootElementConfiguratorfor requested name
 - 
lookup
Retrieve aConfiguratorfor target type.- Parameters:
 type-- Returns:
 nullif we don't know anyRootElementConfiguratorfor requested type
 - 
lookupOrFail
null-safe flavour oflookup(Type).- Parameters:
 type-- Throws:
 ConfiguratorException- if we don't know anyRootElementConfiguratorfor requested type
 - 
get
Retrieve default implementation from Jenkins 
 -