public class LogCleanConfig extends Configuration
构造器和说明 |
---|
LogCleanConfig() |
限定符和类型 | 方法和说明 |
---|---|
int |
getAutoCleanTime() |
int |
getAutoDataTime() |
java.lang.String |
getEmailReceiver() |
static LogCleanConfig |
getInstance() |
int |
getManualDataTime() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
java.util.List<java.lang.String> |
getPlatformMessageReceiver() |
java.lang.String |
getSmsReceiver() |
int |
getTriggerThreshold() |
boolean |
isCleanWarnStarted() |
boolean |
isEmailChecked() |
boolean |
isOpen() |
boolean |
isPlatformMessageChecked() |
boolean |
isSmsChecked() |
void |
setAutoCleanTime(int autoCleanTime) |
void |
setAutoDataTime(int autoDataTime) |
void |
setCleanWarnStarted(boolean infoNoticeStarted) |
void |
setEmailChecked(boolean emailChecked) |
void |
setEmailReceiver(java.lang.String emailReceiver) |
void |
setManualDataTime(int manualDataTime) |
void |
setOpen(boolean open) |
void |
setPlatformMessageChecked(boolean platformMessageChecked) |
void |
setPlatformMessageReceiver(java.util.List<java.lang.String> platformMessageReceiver) |
void |
setSmsChecked(boolean smsChecked) |
void |
setSmsReceiver(java.lang.String smsReceiver) |
void |
setTriggerThreshold(int triggerThreshold) |
clone, initialize, mirror
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static LogCleanConfig getInstance()
public boolean isOpen()
public void setOpen(boolean open)
public int getAutoCleanTime()
public void setAutoCleanTime(int autoCleanTime)
public int getAutoDataTime()
public void setAutoDataTime(int autoDataTime)
public int getManualDataTime()
public void setManualDataTime(int manualDataTime)
public boolean isCleanWarnStarted()
public void setCleanWarnStarted(boolean infoNoticeStarted)
public int getTriggerThreshold()
public void setTriggerThreshold(int triggerThreshold)
public boolean isSmsChecked()
public void setSmsChecked(boolean smsChecked)
public boolean isEmailChecked()
public void setEmailChecked(boolean emailChecked)
public boolean isPlatformMessageChecked()
public void setPlatformMessageChecked(boolean platformMessageChecked)
public java.lang.String getSmsReceiver()
public void setSmsReceiver(java.lang.String smsReceiver)
public java.lang.String getEmailReceiver()
public void setEmailReceiver(java.lang.String emailReceiver)
public java.util.List<java.lang.String> getPlatformMessageReceiver()
public void setPlatformMessageReceiver(java.util.List<java.lang.String> platformMessageReceiver)