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() {
39 public ControlLoopParams(ControlLoopParams params) {
40 this.closedLoopControlName = params.closedLoopControlName;
41 this.controlLoopYaml = params.controlLoopYaml;
42 this.policyName = params.policyName;
43 this.policyScope = params.policyScope;
44 this.policyVersion = params.policyVersion;
47 public String getClosedLoopControlName() {
48 return closedLoopControlName;
51 public void setClosedLoopControlName(String closedLoopControlName) {
52 this.closedLoopControlName = closedLoopControlName;
55 public String getControlLoopYaml() {
56 return controlLoopYaml;
59 public void setControlLoopYaml(String controlLoopYaml) {
60 this.controlLoopYaml = controlLoopYaml;
63 public String getPolicyName() {
67 public void setPolicyName(String policyName) {
68 this.policyName = policyName;
71 public String getPolicyScope() {
75 public void setPolicyScope(String policyScope) {
76 this.policyScope = policyScope;
79 public String getPolicyVersion() {
83 public void setPolicyVersion(String policyVersion) {
84 this.policyVersion = policyVersion;