public class FSConfig extends Configuration implements ConfigCallBack
构造器和说明 |
---|
FSConfig() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(java.lang.Class<? extends Configuration> aClass) |
void |
change(java.util.Map<CheckedKey,java.lang.Object> map) |
AuthorizeAttr |
getAuthorizeAttr() |
DatabaseAdapterAttr |
getDatabaseAdapterAttr() |
static FSConfig |
getInstance() |
LoginConfig |
getLoginConfig() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
Passport |
getPassport() |
<T> T |
getPassport(java.lang.Class<? extends T> t) |
java.lang.String |
getPluginId() |
static FSConfig |
getProviderInstance() |
int |
getSyncType() |
long |
getXmlVersion() |
boolean |
isNeedUpdate() |
boolean |
isSyncTransferred() |
boolean |
isUseFS() |
void |
setAuthorizeAttr(AuthorizeAttr authorizeAttr) |
void |
setDatabaseAdapterAttr(DatabaseAdapterAttr databaseAdapterAttr) |
void |
setLoginConfig(LoginConfig loginConfig) |
void |
setNeedUpdate(boolean needUpdate) |
void |
setPassport(Passport passport) |
void |
setPluginId(java.lang.String pluginId) |
void |
setSyncTransferred(boolean syncTransferred) |
void |
setSyncType(int type) |
void |
setUseFS(boolean useFS) |
void |
setXmlVersion(long xmlVersion) |
clone, initialize, mirror
public static FSConfig getInstance()
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static FSConfig getProviderInstance()
public int getSyncType()
public void setSyncType(int type)
public boolean isUseFS()
public void setUseFS(boolean useFS)
public java.lang.String getPluginId()
public void setPluginId(java.lang.String pluginId)
public DatabaseAdapterAttr getDatabaseAdapterAttr()
public void setDatabaseAdapterAttr(DatabaseAdapterAttr databaseAdapterAttr)
public boolean isNeedUpdate()
public void setNeedUpdate(boolean needUpdate)
public <T> T getPassport(java.lang.Class<? extends T> t)
public Passport getPassport()
public void setPassport(Passport passport)
public AuthorizeAttr getAuthorizeAttr()
public void setAuthorizeAttr(AuthorizeAttr authorizeAttr)
public long getXmlVersion()
public void setXmlVersion(long xmlVersion)
public boolean isSyncTransferred()
public void setSyncTransferred(boolean syncTransferred)
public LoginConfig getLoginConfig()
public void setLoginConfig(LoginConfig loginConfig)
public void change(java.util.Map<CheckedKey,java.lang.Object> map)
change
在接口中 ConfigCallBack
public boolean accept(java.lang.Class<? extends Configuration> aClass)
accept
在接口中 ConfigAware