public static interface ChangeSetAdapter.NodeTypePredicate
Modifier and Type | Method and Description |
---|---|
boolean |
isQueryable(Name primaryType,
Set<Name> mixinTypes)
Determine if the given primary type and mixin types are queryable according to this predicate, in the JSR-283 sense.
|
boolean |
matchesType(Name primaryType,
Set<Name> mixinTypes)
Determine if the given primary type and mixin types satisfies the node type requirements of an event.
|
boolean matchesType(Name primaryType, Set<Name> mixinTypes)
primaryType
- the primary type of the eventmixinTypes
- the set of nodes mixins; never null but possibly emptyboolean isQueryable(Name primaryType, Set<Name> mixinTypes)
primaryType
- the primary type of a nodemixinTypes
- the set of nodes mixins; never null but possibly emptyCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.