Package de.hsh.graja.comment
Class Settings
- java.lang.Object
-
- de.hsh.graja.comment.Settings
-
public class Settings extends Object
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
resetMinRDLevel()
set the minimum comment level from the system propertymin.rd.level
.static void
setMinRDLevel(Level minRDLevel)
Sets he system wide absolute minimum level for comments.
-
-
-
Method Detail
-
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 propertymin.rd.level
.
-
-