public class LevelSelector extends java.lang.Object implements JcmsMessageSelector
JcmsMessage
by its level.Modifier and Type | Field and Description |
---|---|
static LevelSelector |
ERROR |
static LevelSelector |
INFO |
static LevelSelector |
SUCCESS |
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 SUCCESS
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-2018 Jalios SA. All Rights Reserved.