public interface PaxLevel
Modifier and Type | Method and Description |
---|---|
int |
getSyslogEquivalent()
Return the syslog equivalent of this priority as an integer.
|
boolean |
isGreaterOrEqual(PaxLevel r)
Returns
true if this level has a higher or equal
level than the level passed as argument, false
otherwise. |
int |
toInt()
Returns the integer representation of this level.
|
boolean isGreaterOrEqual(PaxLevel r)
true
if this level has a higher or equal
level than the level passed as argument, false
otherwise.
You should think twice before overriding the default
implementation of isGreaterOrEqual
method.
r
- the PaxLevel to compare with.false
otherwise.int toInt()
int getSyslogEquivalent()
Copyright © 2014. All rights reserved.