public class TimeClause extends Object implements org.apache.camel.BinaryPredicate
Modifier and Type | Class and Description |
---|---|
class |
TimeClause.TimeClassUnit |
Constructor and Description |
---|
TimeClause(org.apache.camel.Expression left,
org.apache.camel.Expression right) |
Modifier and Type | Method and Description |
---|---|
void |
afterPrevious() |
void |
beforeNext() |
TimeClause.TimeClassUnit |
between(int from,
int to) |
org.apache.camel.Expression |
getLeft() |
protected String |
getOperationText() |
String |
getOperator() |
org.apache.camel.Expression |
getRight() |
boolean |
matches(org.apache.camel.Exchange exchange) |
protected boolean |
matches(org.apache.camel.Exchange exchange,
Object leftValue,
Object rightValue) |
String |
matchesReturningFailureMessage(org.apache.camel.Exchange exchange) |
TimeClause.TimeClassUnit |
noLaterThan(int period) |
String |
toString() |
public TimeClause(org.apache.camel.Expression left, org.apache.camel.Expression right)
public TimeClause.TimeClassUnit noLaterThan(int period)
public TimeClause.TimeClassUnit between(int from, int to)
public void beforeNext()
public void afterPrevious()
public org.apache.camel.Expression getLeft()
getLeft
in interface org.apache.camel.BinaryPredicate
public org.apache.camel.Expression getRight()
getRight
in interface org.apache.camel.BinaryPredicate
public boolean matches(org.apache.camel.Exchange exchange)
matches
in interface org.apache.camel.Predicate
public String matchesReturningFailureMessage(org.apache.camel.Exchange exchange)
matchesReturningFailureMessage
in interface org.apache.camel.BinaryPredicate
protected boolean matches(org.apache.camel.Exchange exchange, Object leftValue, Object rightValue)
public String getOperator()
getOperator
in interface org.apache.camel.BinaryPredicate
protected String getOperationText()
Apache Camel