public abstract class Predicate extends Object
Constructor and Description |
---|
Predicate() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
evaluate(Object event)
This method evaluates the predicate against the supplied
event to determine if it should be processed.
|
void |
init()
This method initializes the predicate.
|
public void init() throws Exception
Exception
- Failed to initialize the predicatepublic abstract boolean evaluate(Object event)
event
- The eventCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.