Interface WebEngineHistory.Settings
- Enclosing class:
WebEngineHistory
public static interface WebEngineHistory.Settings
The settings the history reads, asked at every use so that a saved change applies at once; in the server the
ServerSettings and the application definitions.- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionintapplicationThreshold(String appID) Gets the unpatched threshold of an application's definition.intGets the period of the Dashboard and of the threshold.intGets the days the daily totals are kept.intundoDays()Gets the days during which the last reset can be undone.intGets the server's unpatched threshold.booleanwarnMail()Checks if the administrators are mailed about a warning.
Method Details
retentionDays
int retentionDays()Gets the days the daily totals are kept.- Returns:
- The days, at least 1.
undoDays
int undoDays()Gets the days during which the last reset can be undone.- Returns:
- The days, 0 for no undo.
periodDays
int periodDays()Gets the period of the Dashboard and of the threshold.- Returns:
- The days, at least 1.
unpatchedThreshold
int unpatchedThreshold()Gets the server's unpatched threshold.- Returns:
- The percent, 0 for off.
warnMail
boolean warnMail()Checks if the administrators are mailed about a warning.- Returns:
- The flag.
applicationThreshold
Gets the unpatched threshold of an application's definition.- Parameters:
appID- The application ID.- Returns:
- The percent, 0 for off, or -1 when the definition sets none and the server's applies.