|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.builder.ExpressionClauseSupport<ValueBuilder>
org.apache.camel.component.mock.AssertionClause
public abstract class AssertionClause
A builder of assertions on message exchanges
| Nested Class Summary | |
|---|---|
class |
AssertionClause.PredicateValueBuilder
Public class needed for fluent builders |
| Constructor Summary | |
|---|---|
AssertionClause()
|
|
| Method Summary | |
|---|---|
protected void |
addPredicate(Predicate predicate)
|
protected void |
applyAssertionOn(MockEndpoint endpoint,
int index,
Exchange exchange)
Performs any assertions on the given exchange |
ValueBuilder |
expression(Expression expression)
Specify an Expression instance |
ExpressionClause<AssertionClause> |
predicate()
|
AssertionClause |
predicate(Predicate predicate)
Adds the given predicate to this assertion clause |
| Methods inherited from class org.apache.camel.builder.ExpressionClauseSupport |
|---|
body, body, configureExpression, constant, createExpression, el, exchange, getExpression, getExpressionType, getExpressionValue, getLanguage, groovy, header, headers, inMessage, javaScript, jxpath, language, method, method, method, method, method, method, mvel, ognl, outBody, outBody, outHeader, outHeaders, outMessage, php, properties, property, python, ruby, setExpression, setExpressionType, setExpressionValue, setLanguage, simple, sql, xpath, xpath, xpath, xpath, xpath, xpath, xquery, xquery, xquery, xquery, xquery, xquery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Constructor Detail |
|---|
public AssertionClause()
| Method Detail |
|---|
public ValueBuilder expression(Expression expression)
ExpressionClauseSupportExpression instance
expression in class ExpressionClauseSupport<ValueBuilder>public AssertionClause predicate(Predicate predicate)
public ExpressionClause<AssertionClause> predicate()
protected void applyAssertionOn(MockEndpoint endpoint,
int index,
Exchange exchange)
protected void addPredicate(Predicate predicate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||