public class ScheduleSettingsManager extends java.lang.Object implements XMLFileManagerProvider
MARK_STRING
限定符和类型 | 方法和说明 |
---|---|
void |
broadcastNodeChange() |
java.lang.String |
fileName()
获取配置文件名
|
java.lang.String |
getEmailReceiver() |
java.lang.String |
getFsmsgReceiver() |
static ScheduleSettingsManager |
getInstance() |
java.lang.String |
getSMSReceiver() |
boolean |
isEmailChecked() |
boolean |
isFsmsgChecked() |
boolean |
isSMSChecked() |
void |
readFromInputStream(java.io.InputStream xmlInputStream)
从指定的文件流中读取配置文件信息
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
boolean |
readXMLFile()
从XML文件中读取配置信息
|
void |
sendFailedPrompt(java.lang.String taskName) |
void |
setEmailChecked(boolean emailChecked) |
void |
setEmailReceiver(java.lang.String emailReceiver) |
void |
setFsmsgChecked(boolean fsmsgChecked) |
void |
setFsmsgReceiver(java.lang.String fsmsgReceiver) |
void |
setSMSChecked(boolean SMSChecked) |
void |
setSMSReceiver(java.lang.String SMSReceiver) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static ScheduleSettingsManager getInstance()
public void sendFailedPrompt(java.lang.String taskName)
public java.lang.String fileName()
fileName
在接口中 XMLFileManagerProvider
public boolean readXMLFile()
XMLFileManagerProvider
readXMLFile
在接口中 XMLFileManagerProvider
public void readFromInputStream(java.io.InputStream xmlInputStream) throws java.lang.Exception
XMLFileManagerProvider
readFromInputStream
在接口中 XMLFileManagerProvider
xmlInputStream
- 文件流java.lang.Exception
- 读取配置信息失败则抛出此异常public void broadcastNodeChange()
public boolean isSMSChecked()
public void setSMSChecked(boolean SMSChecked)
public java.lang.String getSMSReceiver()
public void setSMSReceiver(java.lang.String SMSReceiver)
public boolean isFsmsgChecked()
public void setFsmsgChecked(boolean fsmsgChecked)
public java.lang.String getFsmsgReceiver()
public void setFsmsgReceiver(java.lang.String fsmsgReceiver)
public boolean isEmailChecked()
public void setEmailChecked(boolean emailChecked)
public java.lang.String getEmailReceiver()
public void setEmailReceiver(java.lang.String emailReceiver)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter