com.jalios.jcms.context
Class LevelSelector

java.lang.Object
  extended by com.jalios.jcms.context.LevelSelector
All Implemented Interfaces:
JcmsMessageSelector

public class LevelSelector
extends Object
implements JcmsMessageSelector

select a JcmsMessage by it level

Author:
ludovic

Field Summary
static LevelSelector ERROR
           
static LevelSelector INFO
           
static LevelSelector WARN
           
 
Constructor Summary
LevelSelector(JcmsMessage.Level level)
           
 
Method Summary
 JcmsMessage.Level getLevel()
           
 boolean isSelected(JcmsMessage msg)
           
 void setLevel(JcmsMessage.Level level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO

public static LevelSelector INFO

WARN

public static LevelSelector WARN

ERROR

public static LevelSelector ERROR
Constructor Detail

LevelSelector

public LevelSelector(JcmsMessage.Level level)
Method Detail

isSelected

public boolean isSelected(JcmsMessage msg)
Specified by:
isSelected in interface JcmsMessageSelector

getLevel

public JcmsMessage.Level getLevel()

setLevel

public void setLevel(JcmsMessage.Level level)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.