public class PredicateClause<T> extends Object implements Predicate
Constructor and Description |
---|
PredicateClause(T parent) |
Modifier and Type | Method and Description |
---|---|
T |
body(BiPredicate<Object,Map<String,Object>> predicate)
TODO: document
Note: this is experimental and subject to changes in future releases.
|
<B> T |
body(Class<B> type,
BiPredicate<B,Map<String,Object>> predicate)
TODO: document
Note: this is experimental and subject to changes in future releases.
|
<B> T |
body(Class<B> type,
Predicate<B> predicate)
TODO: document
Note: this is experimental and subject to changes in future releases.
|
T |
body(Predicate<Object> predicate)
TODO: document
Note: this is experimental and subject to changes in future releases.
|
T |
exchange(Predicate<Exchange> predicate)
TODO: document
Note: this is experimental and subject to changes in future releases.
|
boolean |
matches(Exchange exchange)
Evaluates the predicate on the message exchange and returns true if this
exchange matches the predicate
|
T |
message(Predicate<Message> predicate)
TODO: document
Note: this is experimental and subject to changes in future releases.
|
public PredicateClause(T parent)
public boolean matches(Exchange exchange)
Predicate
public T exchange(Predicate<Exchange> predicate)
public T message(Predicate<Message> predicate)
public T body(Predicate<Object> predicate)
public <B> T body(Class<B> type, Predicate<B> predicate)
public T body(BiPredicate<Object,Map<String,Object>> predicate)
Apache Camel