public Map<Source, String> checkWith(Mapping entries, ConfigurationContext context) throws ConfiguratorException {
        Map<Source, String> issues = new HashMap<>();
        context.addListener((node, message) -> issues.put(node.getSource(), message));
        invokeWith(entries, (configurator, config) -> configurator.check(config, context));
        return issues;
    }
Configuration with help of {@link RootElementConfigurator}s.
Corresponding configurator is searched by entry key, passing entry value as object with all required properties.

@param entries key-value pairs, where key should match to root configurator and value have all required properties
@throws ConfiguratorException configuration error
plugin/src/main/java/io/jenkins/plugins/casc/ConfigurationAsCode.java