2 * ============LICENSE_START=======================================================
3 * AppcLcmActorServiceProvider
4 * ================================================================================
5 * Copyright (C) 2018 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.onap.policy.controlloop.params;
23 import java.io.Serializable;
25 public class ControlLoopParams implements Serializable {
27 private static final long serialVersionUID = 970755684770982776L;
29 private String closedLoopControlName;
30 private String controlLoopYaml;
31 private String policyName;
32 private String policyScope;
33 private String policyVersion;
35 public ControlLoopParams() {
40 * Construct an instance from an existing instance.
42 * @param params the existing instance
44 public ControlLoopParams(ControlLoopParams params) {
45 this.closedLoopControlName = params.closedLoopControlName;
46 this.controlLoopYaml = params.controlLoopYaml;
47 this.policyName = params.policyName;
48 this.policyScope = params.policyScope;
49 this.policyVersion = params.policyVersion;
52 public String getClosedLoopControlName() {
53 return closedLoopControlName;
56 public void setClosedLoopControlName(String closedLoopControlName) {
57 this.closedLoopControlName = closedLoopControlName;
60 public String getControlLoopYaml() {
61 return controlLoopYaml;
64 public void setControlLoopYaml(String controlLoopYaml) {
65 this.controlLoopYaml = controlLoopYaml;
68 public String getPolicyName() {
72 public void setPolicyName(String policyName) {
73 this.policyName = policyName;
76 public String getPolicyScope() {
80 public void setPolicyScope(String policyScope) {
81 this.policyScope = policyScope;
84 public String getPolicyVersion() {
88 public void setPolicyVersion(String policyVersion) {
89 this.policyVersion = policyVersion;