@CheckForNull
    default CNode describe(T instance, ConfigurationContext context) throws Exception {
        Mapping mapping = new Mapping();
        for (Attribute attribute : getAttributes()) {
            CNode value = attribute.describe(instance, context);
            if (value != null) {
                mapping.put(attribute.getName(), value);
            }
        }
        return mapping;
    }
Describe a component as a Configuration Nodes {@link CNode} to be exported as yaml.
Only export attributes which are <b>not</b> set to default value.
plugin/src/main/java/io/jenkins/plugins/casc/Configurator.java