package $packageName; import org.openecomp.entity.EcompOperationEnum; public enum ${name}OperationEnum implements EcompOperationEnum { <% def last operations.each { n, v -> last = n } operations.each { n, v -> %> ${n.replaceAll('[-&@#:]','_')}("$n")${n==last ? "" : ","}\ <% } %> ; private String n; private ${name}OperationEnum(String n) { this.n = n; } @Override public String toString() { return n; } }