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 Type
    Method
    Description
    int
    Gets the unpatched threshold of an application's definition.
    int
    Gets the period of the Dashboard and of the threshold.
    int
    Gets the days the daily totals are kept.
    int
    Gets the days during which the last reset can be undone.
    int
    Gets the server's unpatched threshold.
    boolean
    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

      int applicationThreshold(String appID)
      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.