Package de.hsh.graja.comment
Class Settings
java.lang.Object
de.hsh.graja.comment.Settings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
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.
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
setMinRDLevel
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
.
-