1 package org.openecomp.sdc.be.datatypes.enums;
3 import java.util.stream.Stream;
5 public enum InstantiationTypes {
7 A_LA_CARTE("A-la-carte"),
12 private InstantiationTypes(String value) {
16 public String getValue() {
21 * Checks if enum with the given type exists.
27 public static boolean containsName(String type) {
28 return Stream.of(InstantiationTypes.values())
29 .anyMatch(instType -> type.equals(instType.getValue()));