|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.ehcache.annotations.config.PatternCacheNameMatcherImpl
public class PatternCacheNameMatcherImpl
CacheNameMatcher that delegates to a Pattern.
Pattern| Constructor Summary | |
|---|---|
PatternCacheNameMatcherImpl(java.util.regex.Pattern pattern)
|
|
PatternCacheNameMatcherImpl(java.lang.String regex)
|
|
| Method Summary | |
|---|---|
java.util.regex.Pattern |
getPattern()
|
Vote |
matches(java.lang.String cacheName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternCacheNameMatcherImpl(java.util.regex.Pattern pattern)
pattern - public PatternCacheNameMatcherImpl(java.lang.String regex)
regex -
java.util.regex.PatternSyntaxException - if the regex is invalidPattern.compile(String)| Method Detail |
|---|
public Vote matches(java.lang.String cacheName)
matches in interface CacheNameMatcherVote.YEA if this should definitely be included, Vote.NAY if definitely excluded, or Vote.ABSTAIN if impl has no opinionpublic java.util.regex.Pattern getPattern()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||