Klasse TailerOptions

java.lang.Object
org.apache.sling.commons.log.logback.webconsole.TailerOptions

public final class TailerOptions extends Object
Encapsulates the options for tailing a log file
  • Konstruktordetails

    • TailerOptions

      public TailerOptions(int numOfLines, String regex)
      Constructor
      Parameter:
      numOfLines - the number of lines to include (or a negative number for all)
      regex - pattern used to filter line. If null or "*" then all lines would be included. Regex can be simple string also. In that case search would be done in a case insensitive way
  • Methodendetails

    • tailAll

      public boolean tailAll()
      Returns if all lines should be included
      Gibt zurück:
      true to tail all lines or false otherwise
    • getNumOfLines

      public int getNumOfLines()
      Get the number of lines to include
      Gibt zurück:
      the number of lines to include (or a negative number for all)
    • getRegex

      public String getRegex()
      Gets the pattern to match
      Gibt zurück:
      pattern used to filter line. If null or "*" then all lines would be included. Regex can be simple string also. In that case search would be done in a case insensitive way