public class PrewarningConfig extends Configuration
构造器和说明 |
---|
PrewarningConfig() |
限定符和类型 | 方法和说明 |
---|---|
int |
getContinueTime() |
static PrewarningConfig |
getInstance() |
java.util.List<java.lang.String> |
getMailReceivers() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
java.util.List<java.lang.String> |
getPhoneNumbers() |
java.util.List<java.lang.String> |
getPlatformMessageReceiver() |
int |
getWarningPercent() |
boolean |
isMailRemindOpen() |
boolean |
isMessageRemindOpen() |
boolean |
isPlatformMessageRemindOpen() |
boolean |
isWarningOpen() |
void |
setContinueTime(int continueTime) |
void |
setMailReceivers(java.util.List<java.lang.String> mailReceivers) |
void |
setMailRemindOpen(boolean mailRemindOpen) |
void |
setMessageRemindOpen(boolean messageRemindOpen) |
void |
setPhoneNumbers(java.util.List<java.lang.String> phoneNumbers) |
void |
setPlatformMessageReceiver(java.util.List<java.lang.String> platformMessageReceiver) |
void |
setPlatformMessageRemindOpen(boolean platformMessageRemindOpen) |
void |
setWarningOpen(boolean warningOpen) |
void |
setWarningPercent(int warningPercent) |
clone, initialize, mirror
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static PrewarningConfig getInstance()
public boolean isWarningOpen()
public void setWarningOpen(boolean warningOpen)
public int getWarningPercent()
public void setWarningPercent(int warningPercent)
public int getContinueTime()
public void setContinueTime(int continueTime)
public boolean isMessageRemindOpen()
public void setMessageRemindOpen(boolean messageRemindOpen)
public java.util.List<java.lang.String> getPhoneNumbers()
public void setPhoneNumbers(java.util.List<java.lang.String> phoneNumbers)
public boolean isPlatformMessageRemindOpen()
public void setPlatformMessageRemindOpen(boolean platformMessageRemindOpen)
public java.util.List<java.lang.String> getPlatformMessageReceiver()
public void setPlatformMessageReceiver(java.util.List<java.lang.String> platformMessageReceiver)
public boolean isMailRemindOpen()
public void setMailRemindOpen(boolean mailRemindOpen)
public java.util.List<java.lang.String> getMailReceivers()
public void setMailReceivers(java.util.List<java.lang.String> mailReceivers)