public class ServerPreferenceConfig extends Configuration implements FCloneable
构造器和说明 |
---|
ServerPreferenceConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
clearAllStyle()
清楚所有的样式信息
|
java.lang.Object |
clone() |
EmbeddedTableData |
getEmbeddedTableData() |
java.lang.String |
getErrorTemplate() |
DayOfWeek |
getFirstDayOfWeek()
获取周相关公式的起始日
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getFlexibleAttr() |
java.lang.String |
getFlexibleValue(java.lang.String key)
获取扩展配置属性
|
java.lang.String[] |
getFlexibleValues(java.lang.String key) |
java.lang.String |
getHyperlinkAddress() |
static ServerPreferenceConfig |
getInstance() |
java.lang.String |
getJbossWebappName() |
FRLogCleanAttr |
getLogCleanAttr() |
LogConfig |
getLogConfig() |
FArray |
getMailAddress4log() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
java.lang.String |
getResServerPath() |
java.lang.String |
getResultSaverClassName() |
java.lang.String |
getServerAddress() |
long |
getSessionDeadCheckTime() |
long |
getSessionDeadTime() |
Style |
getStyle(java.lang.String name)
Gets the Style of the specified name.
|
java.util.Map |
getStyleMap() |
java.util.Iterator |
getStyleNameIterator()
Gets the iterator of the name of Style.
|
boolean |
hasStyle()
Has style.
|
boolean |
isDownChromeFrameInLocal() |
boolean |
isIncludeString() |
boolean |
isLicUseLock() |
boolean |
isSendHeartBeat() |
boolean |
isSupportGzip() |
boolean |
isUseResServer() |
boolean |
isWriteShortCuts() |
void |
putStyle(java.lang.String name,
Style style)
Puts the Style with the specified name.
|
void |
setDownChromeFrameInLocal(boolean downChromeFrameInLocal) |
void |
setEmbeddedTableData(EmbeddedTableData embeddedTableData) |
void |
setErrorTemplate(java.lang.String errorTemplate) |
void |
setFirstDayOfWeek(DayOfWeek firstDayOfWeek)
设置周相关公式的起始日.
|
void |
setFlexibleAttr(java.util.Map<java.lang.String,java.util.List<java.lang.String>> flexibleAttr) |
void |
setFlexibleValue(java.lang.String key,
java.lang.String text)
设置扩展配置属性
|
void |
setHyperlinkAddress(java.lang.String hyperlinkAddress) |
void |
setIncludeString(boolean includeString) |
void |
setJbosswebappname(java.lang.String jbosswebappname) |
void |
setLicUseLock(boolean licUseLock) |
void |
setLogCleanAttr(FRLogCleanAttr logCleanAttr) |
void |
setLogConfig(LogConfig logConfig) |
void |
setMailAddress4log(FArray mailAddress4log) |
void |
setMailAddress4log(java.lang.String mailAddress4log) |
void |
setResServerPath(java.lang.String resServerPath) |
void |
setResultSaverClassName(java.lang.String resultSaverClassName) |
void |
setSendHeartBeat(boolean sendHeartBeat) |
void |
setServerAddress(java.lang.String serverAddress) |
void |
setSessionDeadCheckTime(long sessionDeadCheckTime) |
void |
setSessionDeadTime(long sessionDeadTime) |
void |
setStyleMap(StyleMap styleMap) |
void |
setSupportGzip(boolean supportGzip) |
void |
setUseResServer(boolean useResServer) |
void |
setWriteShortCuts(boolean writeShortCuts) |
initialize, mirror
public static ServerPreferenceConfig getInstance()
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public FArray getMailAddress4log()
public void setMailAddress4log(FArray mailAddress4log)
public void setMailAddress4log(java.lang.String mailAddress4log)
public DayOfWeek getFirstDayOfWeek()
public void setFirstDayOfWeek(DayOfWeek firstDayOfWeek)
firstDayOfWeek
- 指定起始日, DayOfWeek.SUNDAY/MONDAYpublic LogConfig getLogConfig()
public void setLogConfig(LogConfig logConfig)
public EmbeddedTableData getEmbeddedTableData()
public void setEmbeddedTableData(EmbeddedTableData embeddedTableData)
public java.util.Map getStyleMap()
public void setStyleMap(StyleMap styleMap)
public boolean isWriteShortCuts()
public void setWriteShortCuts(boolean writeShortCuts)
public boolean isSupportGzip()
public void setSupportGzip(boolean supportGzip)
public boolean isLicUseLock()
public void setLicUseLock(boolean licUseLock)
public boolean isUseResServer()
public void setUseResServer(boolean useResServer)
public java.lang.String getResServerPath()
public void setResServerPath(java.lang.String resServerPath)
public boolean isDownChromeFrameInLocal()
public void setDownChromeFrameInLocal(boolean downChromeFrameInLocal)
public boolean isIncludeString()
public void setIncludeString(boolean includeString)
public java.lang.String getResultSaverClassName()
public void setResultSaverClassName(java.lang.String resultSaverClassName)
public java.lang.String getErrorTemplate()
public void setErrorTemplate(java.lang.String errorTemplate)
public java.lang.String getJbossWebappName()
public void setJbosswebappname(java.lang.String jbosswebappname)
public long getSessionDeadCheckTime()
public void setSessionDeadCheckTime(long sessionDeadCheckTime)
public long getSessionDeadTime()
public void setSessionDeadTime(long sessionDeadTime)
public boolean isSendHeartBeat()
public void setSendHeartBeat(boolean sendHeartBeat)
public java.lang.String getHyperlinkAddress()
public void setHyperlinkAddress(java.lang.String hyperlinkAddress)
public java.lang.String getServerAddress()
public void setServerAddress(java.lang.String serverAddress)
public FRLogCleanAttr getLogCleanAttr()
public void setLogCleanAttr(FRLogCleanAttr logCleanAttr)
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getFlexibleAttr()
public void setFlexibleAttr(java.util.Map<java.lang.String,java.util.List<java.lang.String>> flexibleAttr)
public java.lang.String getFlexibleValue(java.lang.String key)
key
- 扩展配置属性的类别public java.lang.String[] getFlexibleValues(java.lang.String key)
public void setFlexibleValue(java.lang.String key, java.lang.String text)
key
- 配置属性的类别,不可以和其他的重复text
- 配置属性的值public boolean hasStyle()
public java.util.Iterator getStyleNameIterator()
public Style getStyle(java.lang.String name)
public void putStyle(java.lang.String name, Style style)
name
- 样式名style
- 样式public void clearAllStyle()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 Configuration
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常