Class LogNotificationJob

java.lang.Object
org.codelibs.fess.job.LogNotificationJob

public class LogNotificationJob extends Object
Job for sending log notifications.
  • Constructor Details

    • LogNotificationJob

      public LogNotificationJob()
      Default constructor.
  • Method Details

    • execute

      public String execute()
      Executes the log notification job.
      Returns:
      the execution result
    • formatDetails

      protected String formatDetails(List<LogNotificationHelper.LogNotificationEvent> events, int maxDetailsLength, int maxDisplayEvents, int maxMessageLength)
      Formats a list of log notification events into a human-readable summary string.
      Parameters:
      events - the list of log notification events
      maxDetailsLength - the maximum length of the details string
      maxDisplayEvents - the maximum number of events to display
      maxMessageLength - the maximum length of each log message
      Returns:
      the formatted details string with summary header and truncated entries