core/src/main/java/io/fabric8/maven/core/service/ApplyService.java
public Object applyTemplate(Template entity, String sourceName) throws Exception {
        installTemplate(entity, sourceName);
        return processTemplate(entity, sourceName);
    }
public Object applyTemplate(Template entity, String sourceName) throws Exception {
        installTemplate(entity, sourceName);
        return processTemplate(entity, sourceName);
    }
Creates/updates the template and processes it returning the processed DTOs