Class LevelInequalityRule

java.lang.Object
org.apache.log4j.rule.LevelInequalityRule

public class LevelInequalityRule extends Object
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
  • Field Details

    • levelList

      private static List levelList
      Level list.
    • utilLoggingLevelList

      private static List utilLoggingLevelList
      List equivalents of java.util.logging levels.
  • Constructor Details

    • LevelInequalityRule

      private LevelInequalityRule()
      Create new instance.
  • Method Details

    • populateLevels

      private static void populateLevels()
      Populate list of levels.
    • getRule

      public static Rule getRule(String inequalitySymbol, String value)
      Create new rule.
      Parameters:
      inequalitySymbol - inequality symbol.
      value - Symbolic name of comparison level.
      Returns:
      instance of AbstractRule.