org.jboss.messaging.core.settings.impl
Class Match<T>
java.lang.Object
org.jboss.messaging.core.settings.impl.Match<T>
public class Match<T>
- extends java.lang.Object
a Match is the holder for the match string and the object to hold against it.
Constructor Summary |
Match(java.lang.String match)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
WORD_WILDCARD
public static java.lang.String WORD_WILDCARD
WILDCARD
public static java.lang.String WILDCARD
Match
public Match(java.lang.String match)
getMatch
public java.lang.String getMatch()
setMatch
public void setMatch(java.lang.String match)
getPattern
public java.util.regex.Pattern getPattern()
getValue
public T getValue()
setValue
public void setValue(T value)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
verify
public static void verify(java.lang.String match)
throws java.lang.IllegalArgumentException
- utility method to verify consistency of match
- Parameters:
match
- the match to validate
- Throws:
java.lang.IllegalArgumentException
- if a match isnt valid
Copyright © 2006 JBoss Inc. All Rights Reserved.