public class LevelSelector extends java.lang.Object implements JcmsMessageSelector
JcmsMessage
by it levelModifier and Type | Field and Description |
---|---|
static LevelSelector |
ERROR |
static LevelSelector |
INFO |
static LevelSelector |
WARN |
Constructor and Description |
---|
LevelSelector(JcmsMessage.Level level) |
Modifier and Type | Method and Description |
---|---|
JcmsMessage.Level |
getLevel() |
boolean |
isSelected(JcmsMessage msg) |
void |
setLevel(JcmsMessage.Level level) |
public static LevelSelector INFO
public static LevelSelector WARN
public static LevelSelector ERROR
public LevelSelector(JcmsMessage.Level level)
public boolean isSelected(JcmsMessage msg)
isSelected
in interface JcmsMessageSelector
public JcmsMessage.Level getLevel()
public void setLevel(JcmsMessage.Level level)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.