Merge "Add debugging of REST call"
[policy/drools-applications.git] / controlloop / common / model-impl / events / src / main / java / org / onap / policy / controlloop / params / ControlLoopParams.java
1 /*-
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.policy.controlloop.params;
22
23 import java.io.Serializable;
24
25 public class ControlLoopParams implements Serializable {
26
27     private static final long serialVersionUID = 970755684770982776L;
28
29     private String closedLoopControlName;
30     private String controlLoopYaml;
31     private String policyName;
32     private String policyScope;
33     private String policyVersion;
34
35     public ControlLoopParams() {
36         super();
37     }
38
39     /**
40      * Construct an instance from an existing instance.
41      * 
42      * @param params the existing instance
43      */
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;
50     }
51
52     public String getClosedLoopControlName() {
53         return closedLoopControlName;
54     }
55
56     public void setClosedLoopControlName(String closedLoopControlName) {
57         this.closedLoopControlName = closedLoopControlName;
58     }
59
60     public String getControlLoopYaml() {
61         return controlLoopYaml;
62     }
63
64     public void setControlLoopYaml(String controlLoopYaml) {
65         this.controlLoopYaml = controlLoopYaml;
66     }
67
68     public String getPolicyName() {
69         return policyName;
70     }
71
72     public void setPolicyName(String policyName) {
73         this.policyName = policyName;
74     }
75
76     public String getPolicyScope() {
77         return policyScope;
78     }
79
80     public void setPolicyScope(String policyScope) {
81         this.policyScope = policyScope;
82     }
83
84     public String getPolicyVersion() {
85         return policyVersion;
86     }
87
88     public void setPolicyVersion(String policyVersion) {
89         this.policyVersion = policyVersion;
90     }
91
92 }