org.jboss.kernel.api.dependency
Class NonNullMatcher
java.lang.Object
org.jboss.kernel.api.dependency.NonNullMatcher
- All Implemented Interfaces:
- Matcher
- Direct Known Subclasses:
- ClassMatcher
public abstract class NonNullMatcher
- extends Object
- implements Matcher
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonNullMatcher
public NonNullMatcher()
match
public boolean match(Object other)
- Description copied from interface:
Matcher
- Do we match this object other param.
- Specified by:
match
in interface Matcher
- Parameters:
other
- the object to match
- Returns:
- true if we match the other param, false otherwise
needExactMatch
public boolean needExactMatch()
- Description copied from interface:
Matcher
- Do we need an exact match.
No match or single match is acceptable.
- Specified by:
needExactMatch
in interface Matcher
- Returns:
- true if matcher accepts only exact matches
internalMatch
protected abstract boolean internalMatch(Object other)
- Do internal match.
- Parameters:
other
- the other param to match
- Returns:
- true if matched, false otherwise
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.