com.ajaxjs.config.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajaxjs-framework2 Show documentation
Show all versions of ajaxjs-framework2 Show documentation
AJAXJS aims to full-stack, not only the server-side framework,
but also integrates the front-end library. It's written in HTML5 + Java, a successor to the JVM platform, efficient, secure, stable, cross-platform and many other advantages, but it abandoned the traditional enterprise architecture brought about by the large and bloated,
emphasizing the lightweight, and fast, very suitable for the Internet fast application.
The newest version!
package com.ajaxjs.config;
import java.util.Map;
/**
* 配置数据
*
* @author sp42 [email protected]
*
*/
public class Config {
/**
* 配置文件路径
*/
private String filePath;
/**
* 是否加载成功
*/
private boolean isLoaded;
/**
* 所有的配置保存在这个 config 中
*/
private Map config;
/**
* 所有的配置保存在这个 config 中(扁平化处理过的)
*/
private Map flatConfig;
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
public boolean isLoaded() {
return isLoaded;
}
public void setLoaded(boolean isLoaded) {
this.isLoaded = isLoaded;
}
public Map getConfig() {
return config;
}
public void setConfig(Map config) {
this.config = config;
}
public Map getFlatConfig() {
return flatConfig;
}
public void setFlatConfig(Map flatConfig) {
this.flatConfig = flatConfig;
}
}