Sonar Critical Fix
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-plugins / src / test / java / org / openecomp / dcae / apod / analytics / cdap / plugins / domain / config / tca / TestSimpleTCAPluginConfig.java
1 /*\r
2  * ===============================LICENSE_START======================================\r
3  *  dcae-analytics\r
4  * ================================================================================\r
5  *    Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  *  Licensed under the Apache License, Version 2.0 (the "License");\r
8  *  you may not use this file except in compliance with the License.\r
9  *   You may obtain a copy of the License at\r
10  *\r
11  *          http://www.apache.org/licenses/LICENSE-2.0\r
12  *\r
13  *  Unless required by applicable law or agreed to in writing, software\r
14  *  distributed under the License is distributed on an "AS IS" BASIS,\r
15  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  *  See the License for the specific language governing permissions and\r
17  *  limitations under the License.\r
18  *  ============================LICENSE_END===========================================\r
19  */\r
20 \r
21 package org.openecomp.dcae.apod.analytics.cdap.plugins.domain.config.tca;\r
22 \r
23 /**\r
24  * @author Rajiv Singla . Creation Date: 2/17/2017.\r
25  */\r
26 public class TestSimpleTCAPluginConfig extends SimpleTCAPluginConfig {\r
27 \r
28     public TestSimpleTCAPluginConfig(String vesMessageFieldName, String policyJson, String alertFieldName,\r
29                                      String messageTypeFieldName, String schema, Boolean enableAlertCEFFormat) {\r
30         super(vesMessageFieldName, policyJson, alertFieldName, messageTypeFieldName, schema, enableAlertCEFFormat);\r
31     }\r
32 \r
33     public void setVesMessageFieldName(String vesMessageFieldName) {\r
34         this.vesMessageFieldName = vesMessageFieldName;\r
35     }\r
36 \r
37     public void setPolicyJson(String policyJson) {\r
38         this.policyJson = policyJson;\r
39     }\r
40 \r
41     public void setAlertFieldName(String alertFieldName) {\r
42         this.alertFieldName = alertFieldName;\r
43     }\r
44 \r
45     public void setMessageTypeFieldName(String messageTypeFieldName) {\r
46         this.messageTypeFieldName = messageTypeFieldName;\r
47     }\r
48 \r
49     public void setSchema(String schema) {\r
50         this.schema = schema;\r
51     }\r
52 \r
53     public void setEnableAlertCEFFormat(Boolean enableAlertCEFFormat) {\r
54         this.enableAlertCEFFormat = enableAlertCEFFormat;\r
55     }\r
56 }\r