| Constructor and Description |
|---|
ActionMatcher(Action<?> action) |
| Modifier and Type | Method and Description |
|---|---|
<V> MatcherContext<V> |
getSubContext(MatcherContext<V> context)
Creates a context for the matching of this matcher using the given parent
context.
|
MatcherType |
getType()
Returns the type of this matcher
|
<V> boolean |
match(MatcherContext<V> context)
Tries a match on the given MatcherContext.
|
getLabel, hasCustomLabel, label, toStringgetChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenpublic ActionMatcher(Action<?> action)
public MatcherType getType()
MatcherMatcherTypepublic <V> MatcherContext<V> getSubContext(MatcherContext<V> context)
MatchergetSubContext in interface MatchergetSubContext in class AbstractMatchercontext - the parent contextpublic <V> boolean match(MatcherContext<V> context)
Matchercontext - the MatcherContext