@NonNull
    @Override
    public Object configure(CNode config, ConfigurationContext context) throws ConfiguratorException {
        return Stapler.lookupConverter(target)
                .convert(
                        target,
                        context.getSecretSourceResolver()
                                .resolve(config.asScalar().toString()));
    }
@Test
    public void _enum() throws Exception {
        // Jenkins do register a StaplerConverter for it.
        Configurator<Node.Mode> c = registry.lookupOrFail(Node.Mode.class);
        final Node.Mode value = c.configure(new Scalar("NORMAL"), context);
        assertEquals(Node.Mode.NORMAL, value);
    }