2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 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.ci.tests.datatypes;
23 import org.openecomp.sdc.be.model.Service;
25 import java.util.HashMap;
28 public class PortMirrioringConfigurationObject {
30 private ServiceReqDetails serviceReqDetails;
31 private String vmmeSourceName;
32 private String vprobeSourceName;
33 private CanvasManager canvasManager;
34 private CanvasElement serviceElementVmmeSourceName;
35 private CanvasElement serviceElementVprobeCollector;
36 private CanvasElement portMirroringConfigurationElement;
37 private Service service;
38 private Service serviceContainerVmme_Source;
39 private Service serviceContainerVprobe_Collector;
40 private Map<String, String> capPropValues = new HashMap<>();
42 public Map<String, String> getCapPropValues() {
46 public void setCapPropValues(Map<String, String> capPropValues) {
47 this.capPropValues = capPropValues;
52 public PortMirrioringConfigurationObject(ServiceReqDetails serviceReqDetails, String vmmeSourceName, String vprobeSourceName,
53 CanvasManager canvasManager, CanvasElement serviceElementVmmeSourceName,
54 CanvasElement serviceElementVprobeCollector, Service service, CanvasElement portMirroringConfigurationElement,
55 Service serviceContainerVmme_Source, Service serviceContainerVprobe_Collector )
57 this.serviceReqDetails = serviceReqDetails;
58 this.vmmeSourceName = vmmeSourceName;
59 this.vprobeSourceName = vprobeSourceName;
60 this.canvasManager = canvasManager;
61 this.serviceElementVmmeSourceName = serviceElementVmmeSourceName;
62 this.serviceElementVprobeCollector = serviceElementVprobeCollector;
63 this.service = service;
64 this.portMirroringConfigurationElement = portMirroringConfigurationElement;
65 this.serviceContainerVmme_Source = serviceContainerVmme_Source;
66 this.serviceContainerVprobe_Collector = serviceContainerVprobe_Collector;
69 public Service getServiceContainerVmme_Source() {
70 return serviceContainerVmme_Source;
73 public Service getServiceContainerVprobe_Collector() {
74 return serviceContainerVprobe_Collector;
77 public CanvasElement getPortMirroringConfigurationElement() {
78 return portMirroringConfigurationElement;
81 public ServiceReqDetails getServiceReqDetails() {
82 return serviceReqDetails;
85 public String getVmmeSourceName() {
86 return vmmeSourceName;
89 public String getVprobeSourceName() {
90 return vprobeSourceName;
93 public CanvasManager getCanvasManager() {
97 public CanvasElement getServiceElementVmmeSourceName() {
98 return serviceElementVmmeSourceName;
101 public CanvasElement getServiceElementVprobeCollector() {
102 return serviceElementVprobeCollector;
105 public Service getService() {