org.loom.validator
Class PathMatcherRule

java.lang.Object
  extended by org.loom.validator.PathMatcherRule

public class PathMatcherRule
extends java.lang.Object

Returns true if the event matches ANY of the configured includes[] events and NONE of the excludes[]


Constructor Summary
PathMatcherRule(java.lang.String[] includes, java.lang.String[] excludes)
           
 
Method Summary
 boolean matches(java.lang.String event)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathMatcherRule

public PathMatcherRule(java.lang.String[] includes,
                       java.lang.String[] excludes)
Method Detail

matches

public boolean matches(java.lang.String event)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object