/*
 *  Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *  WSO2 Inc. licenses this file to you under the Apache License,
 *  Version 2.0 (the "License"); you may not use this file except
 *  in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 *
 */

package org.wso2.carbon.dashboards.core.bean;

import org.wso2.carbon.config.annotation.Configuration;
import org.wso2.carbon.config.annotation.Element;

import java.util.HashMap;
import java.util.Map;

/**
 * Configuration bean class for dashboard configurations.
 */
@Configuration(namespace = "wso2.dashboard", description = "WSO2 Dashboard configuration object")
public class DashboardConfigurations {
    @Element(description = "Database query map")
    private Map<String, Map<String, String>> queries = new HashMap<>();

    public DashboardConfigurations() {
    }

    public Map<String, Map<String, String>> getQueries() {
        return queries;
    }

    public void setQueries(Map<String, Map<String, String>> queries) {
        this.queries = queries;
    }
}

@@ -1,14 +1,13 @@
 /*%0A *
- 
  Copyrig
@@ -77,17 +77,16 @@
 d.%0A *%0A *
- 
  WSO2 In
@@ -142,17 +142,16 @@
 ense,%0A *
- 
  Version
@@ -207,17 +207,16 @@
 xcept%0A *
- 
  in comp
@@ -242,17 +242,16 @@
 ense.%0A *
- 
  You may
@@ -288,16 +288,17 @@
 at%0A *%0A *
+ 
   http:/
@@ -339,17 +339,16 @@
 .0%0A *%0A *
- 
  Unless 
@@ -401,17 +401,16 @@
 ting,%0A *
- 
  softwar
@@ -464,17 +464,16 @@
 on an%0A *
- 
  %22AS IS%22
@@ -522,17 +522,16 @@
 F ANY%0A *
- 
  KIND, e
@@ -583,17 +583,16 @@
 r the%0A *
- 
  specifi
@@ -642,17 +642,16 @@
 tions%0A *
- 
  under t
@@ -666,16 +666,12 @@
 se.%0A
- *%0A
  */%0A
-%0A
 pack
@@ -918,24 +918,28 @@
 oard
- configurations.
+.%0A *%0A * @since 4.0.0
 %0A */
@@ -1031,15 +1031,9 @@
 tion
- object
+s
 %22)%0Ap
@@ -1070,16 +1070,17 @@
 tions %7B%0A
+%0A
     @Ele
@@ -1099,17 +1099,24 @@
 tion = %22
-D
+Map of d
 atabase 
@@ -1123,13 +1123,11 @@
 quer
-y map
+ies
 %22)%0A 
@@ -1202,54 +1202,8 @@
 );%0A%0A
-    public DashboardConfigurations() %7B%0A    %7D%0A%0A
     
@@ -1290,117 +1290,7 @@
    %7D
-%0A%0A    public void setQueries(Map%3CString, Map%3CString, String%3E%3E queries) %7B%0A        this.queries = queries;%0A    %7D
 %0A%7D%0A

remove unnecessary default constructor from DashboardConfigurations