diff options
Diffstat (limited to 'integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/datatypes/enums/ServiceCategoriesEnum.java')
-rw-r--r-- | integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/datatypes/enums/ServiceCategoriesEnum.java | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/datatypes/enums/ServiceCategoriesEnum.java b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/datatypes/enums/ServiceCategoriesEnum.java index 58918c3e1f..f5200b1ad4 100644 --- a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/datatypes/enums/ServiceCategoriesEnum.java +++ b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/datatypes/enums/ServiceCategoriesEnum.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,24 +21,25 @@ package org.onap.sdc.backend.ci.tests.datatypes.enums; import java.util.Random; +import lombok.AllArgsConstructor; +import lombok.Getter; +@Getter +@AllArgsConstructor public enum ServiceCategoriesEnum { - VOIP("VoIP Call Control"), MOBILITY("Mobility"), NETWORK_L4("Network L4+"), NETWORK_L3("Network L1-3"), - PARTNERSERVICE("Partner Domain Service"); - String value; + E2E_SERVICE("E2E Service"), + ETSI_NFV_NETWORK_SERVICE("ETSI NFV Network Service"), + MOBILITY("Mobility"), + NETWORK_L3("Network L1-3"), + NETWORK_L4("Network L4+"), + PARTNER_SERVICE("Partner Domain Service"), + VOIP("VoIP Call Control"); - private ServiceCategoriesEnum(String value) { - this.value = value; - } - - public String getValue() { - - return value; - } + private final String value; public static ServiceCategoriesEnum getRandomElement() { - Random random = new Random(); + final Random random = new Random(); return ServiceCategoriesEnum.values()[random.nextInt(ServiceCategoriesEnum.values().length)]; } } |