org.lsst.ccs.plugin.jas3.console
Class RegularExpressionMessageFilter
java.lang.Object
org.lsst.ccs.plugin.jas3.console.RegularExpressionMessageFilter
- All Implemented Interfaces:
- MessageFilter
public class RegularExpressionMessageFilter
- extends Object
- implements MessageFilter
Accepts or reject bus messages based on regular expressions applied to the
"toString" output of the message.
- Author:
- tonyj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegularExpressionMessageFilter
public RegularExpressionMessageFilter()
accept
public boolean accept(org.lsst.ccs.bus.BusMessage message)
- Specified by:
accept in interface MessageFilter
getVeto
public Pattern getVeto()
setVeto
public void setVeto(Pattern veto)
- If this pattern is found in the message it will be vetoed (not
displayed). The pattern is ignored if
null
getAccept
public Pattern getAccept()
setAccept
public void setAccept(Pattern accept)
- If the survives the veto, and this pattern pattern is found, it will be
displayed. The pattern is ignored if
null.
Copyright © 2013 LSST. All Rights Reserved.