2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.tosca.datatypes;
24 public enum ToscaCapabilityType {
26 ROOT("tosca.capabilities.Root"),
27 NODE("tosca.capabilities.Node"),
28 CONTAINER("tosca.capabilities.Container"),
29 NETWORK_BINDABLE("tosca.capabilities.network.Bindable"),
30 SCALABLE("tosca.capabilities.Scalable"),
31 OPERATING_SYSTEM("tosca.capabilities.OperatingSystem"),
32 ENDPOINT_ADMIN("tosca.capabilities.Endpoint.Admin"),
33 ATTACHMENT("tosca.capabilities.Attachment"),
34 NETWORK_LINKABLE("tosca.capabilities.network.Linkable"),
35 METRIC("org.openecomp.capabilities.Metric"),
36 NFV_METRIC("tosca.capabilities.nfv.Metric"),
37 METRIC_CEILOMETER("org.openecomp.capabilities.metric.Ceilometer"),
38 METRIC_SNMP_TRAP("org.openecomp.capabilities.metric.SnmpTrap"),
39 METRIC_SNMP_POLLING("org.openecomp.capabilities.metric.SnmpPolling"),;
41 private String displayName;
43 ToscaCapabilityType(String displayName) {
44 this.displayName = displayName;
47 public String getDisplayName() {