ch.syabru.nagios.broker.jmx
Class JmxMatcher
java.lang.Object
ch.syabru.nagios.broker.jmx.JmxMatcher
- All Implemented Interfaces:
- Matcher
public class JmxMatcher
- extends Object
- implements Matcher
JMX matcher implementation.
- Author:
- Felix Roethenbacher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxMatcher
public JmxMatcher(String classNameRegex,
String messageRegex,
String typeRegex,
String sourceRegex,
ExternalCommandFactory commandFactory)
throws MatcherException
- C'tor.
- Parameters:
classNameRegex
- Class name regular expression.messageRegex
- Message regular expression.typeRegex
- Type regular expression.sourceRegex
- Source regular expression.commandFactory
- Command factory.
- Throws:
MatcherException
- XX
matches
public ExternalCommand matches(Message message)
- Description copied from interface:
Matcher
- Get matching external commands.
- Specified by:
matches
in interface Matcher
- Parameters:
message
- Message.
- Returns:
- Matching external command, null if not matching.
Copyright © 2010-2011 Syabru. All Rights Reserved.