All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.loy.e.common.properties.Settings Maven / Gradle / Ivy

/*
 * Copyright   Loy Fu. 付厚俊
 * 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 com.loy.e.common.properties;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.loy.e.common.annotation.Author;

@Author(author = "Loy Fu", website = "http://www.17jee.com", contact = "qq群 540553957")

public class Settings {

    public String defaultLocale;
    public List supportLocales = new ArrayList();
    public List ignoreJsonResponseUrls = new ArrayList();

    public Map> staticMappings = new LinkedHashMap>();

    public Map homePageConfig = new HashMap();

    public String defaultPage = "blank.html";
    public String homePage = "home.html";

    public String defaultPassword;

    public List ignoreResources = new ArrayList();

    public List sqlErrorCodes = new ArrayList();
    public List ignoreLogRecordExceptions = new ArrayList();

    public String version;

    public List getSupportLocales() {
        return this.supportLocales;
    }

    public void setSupportLocales(List supportLocales) {
        this.supportLocales = supportLocales;
    }

    public String getDefaultLocale() {
        return defaultLocale;
    }

    public void setDefaultLocale(String defaultLocale) {
        this.defaultLocale = defaultLocale;
    }

    public Map> getStaticMappings() {
        return staticMappings;
    }

    public void setStaticMappings(Map> staticMappings) {
        this.staticMappings = staticMappings;
    }

    public String getDefaultPage() {
        return defaultPage;
    }

    public void setDefaultPage(String defaultPage) {
        this.defaultPage = defaultPage;
    }

    public List getIgnoreJsonResponseUrls() {
        return ignoreJsonResponseUrls;
    }

    public void setIgnoreJsonResponseUrls(List ignoreJsonResponseUrls) {
        this.ignoreJsonResponseUrls = ignoreJsonResponseUrls;
    }


    public List getIgnoreResources() {
        return ignoreResources;
    }

    public void setIgnoreResources(List ignoreResources) {
        this.ignoreResources = ignoreResources;
    }

    public List getSqlErrorCodes() {
        return sqlErrorCodes;
    }

    public void setSqlErrorCodes(List sqlErrorCodes) {
        this.sqlErrorCodes = sqlErrorCodes;
    }

    public String getHomePage() {
        return homePage;
    }

    public void setHomePage(String homePage) {
        this.homePage = homePage;
    }

    public String getDefaultPassword() {
        return defaultPassword;
    }

    public void setDefaultPassword(String defaultPassword) {
        this.defaultPassword = defaultPassword;
    }

    public Map getHomePageConfig() {
        return homePageConfig;
    }

    public void setHomePageConfig(Map homePageConfig) {
        this.homePageConfig = homePageConfig;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

	public List getIgnoreLogRecordExceptions() {
		return ignoreLogRecordExceptions;
	}

	public void setIgnoreLogRecordExceptions(List ignoreLogRecordExceptions) {
		this.ignoreLogRecordExceptions = ignoreLogRecordExceptions;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy