public interface Thresholdable
Modifier and Type | Method and Description |
---|---|
Level |
getThreshold()
Gets the current threshold setting of the component.
|
boolean |
isAsSevereAsThreshold(Level level)
Returns true if the given level is equals or greater than the current
threshold value of the component.
|
void |
setThreshold(Level level)
Sets the component theshold to the given level.
|
void setThreshold(Level level)
level
- The threshold level events must equal or be greater
than before further processing can be done.Level getThreshold()
boolean isAsSevereAsThreshold(Level level)
level
- The level to test against the component threshold.Copyright © 2006-2019 OPS4J - Open Participation Software for Java. All Rights Reserved.