|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
Field Summary | |
---|---|
protected int |
currentIndex
|
protected MockEndpoint |
mock
|
Constructor Summary | |
---|---|
AssertionClause(MockEndpoint mock)
|
Method Summary | |
---|---|
protected void |
addPredicate(Predicate predicate)
|
protected void |
applyAssertionOn(MockEndpoint endpoint,
int index,
Exchange exchange)
Performs any assertions on the given exchange |
TimeClause |
arrives()
Adds a TimeClause predicate for message arriving. |
ValueBuilder |
expression(Expression expression)
Specify an Expression instance |
ValueBuilder |
expression(ExpressionDefinition expression)
|
ExpressionClause<AssertionClause> |
predicate()
Adds the given predicate to this assertion clause |
AssertionClause |
predicate(Predicate predicate)
Adds the given predicate to this assertion clause |
Methods inherited from class org.apache.camel.builder.ExpressionClauseSupport |
---|
attachments, body, body, configureExpression, constant, createExpression, el, exchange, exchangePattern, getExpressionType, getExpressionValue, groovy, header, headers, inMessage, javaScript, jxpath, jxpath, language, method, method, method, method, method, method, mvel, ognl, outBody, outBody, outHeader, outHeaders, outMessage, php, properties, property, python, ref, ruby, setExpressionType, setExpressionValue, simple, simple, spel, sql, tokenize, tokenize, tokenize, tokenize, tokenize, tokenize, tokenize, tokenizePair, tokenizeXMLPair, 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 |
Field Detail |
---|
protected final MockEndpoint mock
protected volatile int currentIndex
Constructor Detail |
---|
public AssertionClause(MockEndpoint mock)
Method Detail |
---|
public ValueBuilder expression(Expression expression)
ExpressionClauseSupport
Expression
instance
expression
in class ExpressionClauseSupport<ValueBuilder>
public ValueBuilder expression(ExpressionDefinition expression)
expression
in class ExpressionClauseSupport<ValueBuilder>
public AssertionClause predicate(Predicate predicate)
public ExpressionClause<AssertionClause> predicate()
public TimeClause arrives()
TimeClause
predicate for message arriving.
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 |