
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;
/**
*
*
* @author Loy Fu qq群 540553957 http://www.17jee.com
* @since 1.8
* @version 3.0.0
*
*/
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 Boolean debugPageResult = false;
public Boolean recordOperateLog = true;
public String defaultPage = "blank.html";
public String homePage = "home.html";
public Boolean loyAspect = true;
public String defaultPassword;
public List ignoreResources = new ArrayList();
public List sqlErrorCodes = new ArrayList();
public String version;
public List getSupportLocales() {
return this.supportLocales;
}
public void setSupportLocales(List supportLocales) {
this.supportLocales = supportLocales;
}
public Boolean getDebugPageResult() {
return debugPageResult;
}
public void setDebugPageResult(Boolean debugPageResult) {
this.debugPageResult = debugPageResult;
}
public Boolean getRecordOperateLog() {
return recordOperateLog;
}
public void setRecordOperateLog(Boolean recordOperateLog) {
this.recordOperateLog = recordOperateLog;
}
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 Boolean getLoyAspect() {
return loyAspect;
}
public void setLoyAspect(Boolean loyAspect) {
this.loyAspect = loyAspect;
}
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy