Class Settings

java.lang.Object
de.hsh.graja.comment.Settings

public class Settings extends Object
  • Constructor Details

    • Settings

      public Settings()
  • Method Details

    • setMinRDLevel

      public static void setMinRDLevel(Level minRDLevel) throws IllegalArgumentException
      Sets he system wide absolute minimum level for comments. This method could be called by a starting method that unpacks a request and knows, which level of comments is requested by a client.
      Parameters:
      minRDLevel - the value to be set as the new minimum level of comments.
      Throws:
      IllegalArgumentExceptions - if the parameter is null.
      IllegalArgumentException
    • resetMinRDLevel

      public static void resetMinRDLevel()
      set the minimum comment level from the system property min.rd.level.