|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Predicate | |
---|---|
org.apache.camel | The core Camel API. |
org.apache.camel.builder | The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers. |
org.apache.camel.builder.xml | Support for XPath based Expressions and Predicates as well as an XSLT processor |
org.apache.camel.component.mock | The Mock Component which is used for testing of routing and mediation rules. |
org.apache.camel.converter | A set of helper classes for converting from different types of Java object to be used by the Type Conversion Support |
org.apache.camel.language.bean | Camel Bean language. |
org.apache.camel.language.constant | Camel Constant language. |
org.apache.camel.language.header | Camel Header language. |
org.apache.camel.language.property | Camel Property language. |
org.apache.camel.language.ref | Camel Ref language. |
org.apache.camel.language.simple | Camel Simple language. |
org.apache.camel.language.tokenizer | Camel Tokenizer language. |
org.apache.camel.language.xpath | Camel XPath language support. |
org.apache.camel.model | The JAXB POJOs for the XML Configuration of the routing rules. |
org.apache.camel.model.language | The JAXB POJOs for the Expression and Predicate plugins for the XML Configuration. |
org.apache.camel.processor | A collection of Processor implementations which are used to implement the Enterprise Integration Patterns |
org.apache.camel.processor.aggregate | Helper classes for the Aggregator pattern. |
org.apache.camel.processor.interceptor | Helper classes for interceptors. |
org.apache.camel.processor.validation | Performs XML validation using JAXP for validating against XSD or RelaxNG |
org.apache.camel.spi | Service Provider Interfaces used internally by the Camel runtime which are plugin strategies. |
org.apache.camel.support | Base classes that help to implement the camel API and are expected to be extended by the user |
org.apache.camel.util | Utility classes used by the core of Camel. |
Uses of Predicate in org.apache.camel |
---|
Subinterfaces of Predicate in org.apache.camel | |
---|---|
interface |
BinaryPredicate
A predicate which evaluates a binary expression. |
Uses of Predicate in org.apache.camel.builder |
---|
Classes in org.apache.camel.builder that implement Predicate | |
---|---|
class |
BinaryPredicateSupport
A useful base class for Predicate implementations |
class |
ExpressionClause<T>
Represents an expression clause within the DSL which when the expression is complete the clause continues to another part of the DSL |
class |
SimpleBuilder
Creates an Simple language builder. |
class |
ValueBuilder
A builder of expressions or predicates based on values. |
Fields in org.apache.camel.builder declared as Predicate | |
---|---|
protected Predicate |
DefaultErrorHandlerBuilder.retryWhile
|
Methods in org.apache.camel.builder that return Predicate | |
---|---|
static Predicate |
PredicateBuilder.and(List<Predicate> predicates)
Concat the given predicates into a single predicate, which only matches if all the predicates matches. |
static Predicate |
PredicateBuilder.and(Predicate left,
Predicate right)
A helper method to combine multiple predicates by a logical AND |
static Predicate |
PredicateBuilder.constant(boolean answer)
A constant predicate. |
static Predicate |
PredicateBuilder.contains(Expression left,
Expression right)
|
Predicate |
ValueBuilder.contains(Object value)
Create a predicate that the left hand expression contains the value of the right hand expression |
static Predicate |
PredicateBuilder.endsWith(Expression left,
Expression right)
|
Predicate |
ValueBuilder.endsWith(Object value)
|
Predicate |
DefaultErrorHandlerBuilder.getRetryWhile()
|
Predicate |
DefaultErrorHandlerBuilder.getRetryWhilePolicy(CamelContext context)
|
Predicate |
ValueBuilder.in(Object... values)
|
Predicate |
ValueBuilder.in(Predicate... predicates)
|
static Predicate |
PredicateBuilder.in(Predicate... predicates)
A helper method to return true if any of the predicates matches. |
static Predicate |
PredicateBuilder.isEqualTo(Expression left,
Expression right)
|
Predicate |
ValueBuilder.isEqualTo(Object value)
|
static Predicate |
PredicateBuilder.isGreaterThan(Expression left,
Expression right)
|
Predicate |
ValueBuilder.isGreaterThan(Object value)
|
static Predicate |
PredicateBuilder.isGreaterThanOrEqualTo(Expression left,
Expression right)
|
Predicate |
ValueBuilder.isGreaterThanOrEqualTo(Object value)
|
Predicate |
ValueBuilder.isInstanceOf(Class<?> type)
|
static Predicate |
PredicateBuilder.isInstanceOf(Expression expression,
Class<?> type)
|
static Predicate |
PredicateBuilder.isLessThan(Expression left,
Expression right)
|
Predicate |
ValueBuilder.isLessThan(Object value)
|
static Predicate |
PredicateBuilder.isLessThanOrEqualTo(Expression left,
Expression right)
|
Predicate |
ValueBuilder.isLessThanOrEqualTo(Object value)
|
static Predicate |
PredicateBuilder.isNotEqualTo(Expression left,
Expression right)
|
Predicate |
ValueBuilder.isNotEqualTo(Object value)
|
Predicate |
ValueBuilder.isNotNull()
|
static Predicate |
PredicateBuilder.isNotNull(Expression expression)
|
Predicate |
ValueBuilder.isNull()
|
static Predicate |
PredicateBuilder.isNull(Expression expression)
|
Predicate |
ValueBuilder.matches(Expression expression)
|
Predicate |
ValueBuilder.not(Predicate predicate)
|
static Predicate |
PredicateBuilder.not(Predicate predicate)
A helper method to return the logical not of the given predicate |
protected Predicate |
ValueBuilder.onNewPredicate(Predicate predicate)
A strategy method to allow derived classes to deal with the newly created predicate in different ways |
static Predicate |
PredicateBuilder.or(Predicate left,
Predicate right)
A helper method to combine multiple predicates by a logical OR |
static Predicate |
PredicateBuilder.regex(Expression expression,
Pattern pattern)
Returns a predicate which is true if the expression matches the given regular expression |
static Predicate |
PredicateBuilder.regex(Expression expression,
String regex)
Returns a predicate which is true if the expression matches the given regular expression |
Predicate |
ValueBuilder.regex(String regex)
Creates a predicate which is true if this expression matches the given regular expression |
static Predicate |
PredicateBuilder.startsWith(Expression left,
Expression right)
|
Predicate |
ValueBuilder.startsWith(Object value)
|
static Predicate |
PredicateBuilder.toPredicate(Expression expression)
Converts the given expression into an Predicate |
Methods in org.apache.camel.builder that return types with arguments of type Predicate | |
---|---|
ExpressionClause<Predicate> |
ValueBuilder.matches()
|
Methods in org.apache.camel.builder with parameters of type Predicate | |
---|---|
static Predicate |
PredicateBuilder.and(Predicate left,
Predicate right)
A helper method to combine multiple predicates by a logical AND |
NotifyBuilder |
NotifyBuilder.filter(Predicate predicate)
Optionally a filter to only allow matching Exchange to be used for matching. |
Predicate |
ValueBuilder.in(Predicate... predicates)
|
static Predicate |
PredicateBuilder.in(Predicate... predicates)
A helper method to return true if any of the predicates matches. |
Predicate |
ValueBuilder.not(Predicate predicate)
|
static Predicate |
PredicateBuilder.not(Predicate predicate)
A helper method to return the logical not of the given predicate |
protected Predicate |
ValueBuilder.onNewPredicate(Predicate predicate)
A strategy method to allow derived classes to deal with the newly created predicate in different ways |
static Predicate |
PredicateBuilder.or(Predicate left,
Predicate right)
A helper method to combine multiple predicates by a logical OR |
void |
DefaultErrorHandlerBuilder.setRetryWhile(Predicate retryWhile)
|
NotifyBuilder |
NotifyBuilder.whenAllDoneMatches(Predicate predicate)
Sets a condition that all done Exchange should match the Predicate |
NotifyBuilder |
NotifyBuilder.whenAllReceivedMatches(Predicate predicate)
Sets a condition that all received Exchange should match the Predicate |
NotifyBuilder |
NotifyBuilder.whenAnyDoneMatches(Predicate predicate)
Sets a condition that any done Exchange should match the Predicate |
NotifyBuilder |
NotifyBuilder.whenAnyReceivedMatches(Predicate predicate)
Sets a condition that any received Exchange should match the Predicate |
Method parameters in org.apache.camel.builder with type arguments of type Predicate | |
---|---|
static Predicate |
PredicateBuilder.and(List<Predicate> predicates)
Concat the given predicates into a single predicate, which only matches if all the predicates matches. |
Uses of Predicate in org.apache.camel.builder.xml |
---|
Classes in org.apache.camel.builder.xml that implement Predicate | |
---|---|
class |
XPathBuilder
Creates an XPath expression builder which creates a nodeset result by default. |
Uses of Predicate in org.apache.camel.component.mock |
---|
Classes in org.apache.camel.component.mock that implement Predicate | |
---|---|
class |
AssertionClause.PredicateValueBuilder
Public class needed for fluent builders |
class |
TimeClause
Represents time based clauses for setting expectations on the mocks. |
Methods in org.apache.camel.component.mock that return Predicate | |
---|---|
protected Predicate |
AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate predicate)
|
Methods in org.apache.camel.component.mock with parameters of type Predicate | |
---|---|
protected void |
AssertionClause.addPredicate(Predicate predicate)
|
void |
MockEndpoint.expectedMessagesMatches(Predicate... predicates)
Sets an expectation that the given predicates matches the received messages by this endpoint |
protected Predicate |
AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate predicate)
|
AssertionClause |
AssertionClause.predicate(Predicate predicate)
Adds the given predicate to this assertion clause |
Uses of Predicate in org.apache.camel.converter |
---|
Methods in org.apache.camel.converter with parameters of type Predicate | |
---|---|
static Processor |
CamelConverter.toProcessor(Predicate predicate)
|
Uses of Predicate in org.apache.camel.language.bean |
---|
Classes in org.apache.camel.language.bean that implement Predicate | |
---|---|
class |
BeanExpression
Evaluates an expression using a bean method invocation |
Methods in org.apache.camel.language.bean that return Predicate | |
---|---|
Predicate |
BeanLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.language.constant |
---|
Methods in org.apache.camel.language.constant that return Predicate | |
---|---|
Predicate |
ConstantLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.language.header |
---|
Methods in org.apache.camel.language.header that return Predicate | |
---|---|
Predicate |
HeaderLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.language.property |
---|
Methods in org.apache.camel.language.property that return Predicate | |
---|---|
Predicate |
PropertyLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.language.ref |
---|
Methods in org.apache.camel.language.ref that return Predicate | |
---|---|
Predicate |
RefLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.language.simple |
---|
Methods in org.apache.camel.language.simple that return Predicate | |
---|---|
Predicate |
SimpleLanguage.createPredicate(String expression)
|
protected Predicate |
SimplePredicateParser.doParsePredicate()
|
Predicate |
SimplePredicateParser.parsePredicate()
|
static Predicate |
SimpleBackwardsCompatibleParser.parsePredicate(String expression,
boolean allowEscape)
Deprecated. |
Uses of Predicate in org.apache.camel.language.tokenizer |
---|
Methods in org.apache.camel.language.tokenizer that return Predicate | |
---|---|
Predicate |
TokenizeLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.language.xpath |
---|
Methods in org.apache.camel.language.xpath that return Predicate | |
---|---|
Predicate |
XPathLanguage.createPredicate(String expression)
|
Uses of Predicate in org.apache.camel.model |
---|
Methods in org.apache.camel.model that return Predicate | |
---|---|
protected Predicate |
WhenSkipSendToEndpointDefinition.createPredicate(RouteContext routeContext)
|
protected Predicate |
ExpressionNode.createPredicate(RouteContext routeContext)
Creates the Predicate from the expression node. |
Predicate |
ExpressionSubElementDefinition.createPredicate(RouteContext routeContext)
|
Predicate |
OnExceptionDefinition.getContinuedPolicy()
|
Predicate |
CatchDefinition.getHandledPolicy()
|
Predicate |
OnExceptionDefinition.getHandledPolicy()
|
Predicate |
ExpressionSubElementDefinition.getPredicate()
|
Predicate |
OnExceptionDefinition.getRetryWhilePolicy()
|
Methods in org.apache.camel.model with parameters of type Predicate | |
---|---|
AggregateDefinition |
AggregateDefinition.completionPredicate(Predicate predicate)
Sets the predicate used to determine if the aggregation is completed |
OnExceptionDefinition |
OnExceptionDefinition.continued(Predicate continued)
Sets whether the exchange should be marked as handled or not. |
FilterDefinition |
ProcessorDefinition.filter(Predicate predicate)
Message Filter EIP: Creates a predicate which is applied and only if it is true then the exchange is forwarded to the destination |
CatchDefinition |
CatchDefinition.handled(Predicate handled)
Deprecated. will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception from a Processor or use the ProcessorDefinition.throwException(Exception) |
OnExceptionDefinition |
OnExceptionDefinition.handled(Predicate handled)
Sets whether the exchange should be marked as handled or not. |
TryDefinition |
TryDefinition.handled(Predicate handled)
Deprecated. will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception from a Processor or use the ProcessorDefinition.throwException(Exception) |
CatchDefinition |
CatchDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onCatch is triggered. |
OnExceptionDefinition |
OnExceptionDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onException is triggered. |
OnCompletionDefinition |
OnCompletionDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onCompletion is triggered. |
TryDefinition |
TryDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onCatch is triggered. |
OnExceptionDefinition |
OnExceptionDefinition.retryWhile(Predicate retryWhile)
Sets the retry while predicate. |
void |
OnExceptionDefinition.setContinuedPolicy(Predicate continuedPolicy)
|
void |
CatchDefinition.setHandledPolicy(Predicate handledPolicy)
|
void |
OnExceptionDefinition.setHandledPolicy(Predicate handledPolicy)
|
void |
ExpressionSubElementDefinition.setPredicate(Predicate predicate)
|
void |
OnExceptionDefinition.setRetryWhilePolicy(Predicate retryWhilePolicy)
|
static ExpressionDefinition |
ExpressionNodeHelper.toExpressionDefinition(Predicate predicate)
Determines which ExpressionDefinition describes the given predicate best possible. |
ValidateDefinition |
ProcessorDefinition.validate(Predicate predicate)
Creates a validation expression which only if it is true then the exchange is forwarded to the destination. |
ChoiceDefinition |
ChoiceDefinition.when(Predicate predicate)
Sets the predicate for the when node |
InterceptSendToEndpointDefinition |
InterceptSendToEndpointDefinition.when(Predicate predicate)
Applies this interceptor only if the given predicate is true |
InterceptDefinition |
InterceptDefinition.when(Predicate predicate)
Applies this interceptor only if the given predicate is true |
Constructors in org.apache.camel.model with parameters of type Predicate | |
---|---|
AggregateDefinition(Predicate predicate)
|
|
ExpressionNode(Predicate predicate)
|
|
ExpressionSubElementDefinition(Predicate predicate)
|
|
FilterDefinition(Predicate predicate)
|
|
NoOutputExpressionNode(Predicate predicate)
|
|
WhenDefinition(Predicate predicate)
|
Uses of Predicate in org.apache.camel.model.language |
---|
Classes in org.apache.camel.model.language that implement Predicate | |
---|---|
class |
ConstantExpression
For expressions and predicates using a constant |
class |
ELExpression
For EL expressions and predicates |
class |
ExpressionDefinition
A useful base class for an expression |
class |
GroovyExpression
For Groovy expressions and predicates |
class |
HeaderExpression
An expression which extracts the named header |
class |
JavaScriptExpression
For JavaScript expressions and predicates |
class |
JXPathExpression
For JXPath expressions and predicates |
class |
LanguageExpression
Represents a parameterised language expression which can support any language at runtime using the language attribute. |
class |
MethodCallExpression
For expressions and predicates using the bean language |
class |
MvelExpression
For MVEL expressions and predicates |
class |
NamespaceAwareExpression
A useful base class for any expression which may be namespace or XML content aware such as XPathExpression or XQueryExpression |
class |
OgnlExpression
For OGNL expressions and predicates |
class |
PhpExpression
For PHP expressions and predicates |
class |
PropertyExpression
An expression which extracts the named exchange property |
class |
PythonExpression
For Python expressions and predicates |
class |
RefExpression
For expressions and predicates using a reference to an existing Expression or Predicate
to lookup from the Registry . |
class |
RubyExpression
For Ruby expressions and predicates |
class |
SimpleExpression
For expressions and predicates using the simple language |
class |
SpELExpression
For Spring Expression Language (SpEL) expressions and predicates |
class |
SqlExpression
For SQL expressions and predicates |
class |
TokenizerExpression
For expressions and predicates using a body or header tokenizer. |
class |
XPathExpression
For XPath expressions and predicates |
class |
XQueryExpression
For XQuery expressions and predicates |
Methods in org.apache.camel.model.language that return Predicate | |
---|---|
Predicate |
TokenizerExpression.createPredicate(CamelContext camelContext)
|
Predicate |
ExpressionDefinition.createPredicate(CamelContext camelContext)
|
Predicate |
XPathExpression.createPredicate(CamelContext camelContext)
|
Predicate |
MethodCallExpression.createPredicate(CamelContext camelContext)
|
Predicate |
SimpleExpression.createPredicate(CamelContext camelContext)
|
Predicate |
ExpressionDefinition.createPredicate(RouteContext routeContext)
|
Predicate |
ExpressionDefinition.getPredicate()
|
Methods in org.apache.camel.model.language with parameters of type Predicate | |
---|---|
protected void |
ExpressionDefinition.configurePredicate(CamelContext camelContext,
Predicate predicate)
|
protected void |
XPathExpression.configurePredicate(CamelContext camelContext,
Predicate predicate)
|
protected void |
NamespaceAwareExpression.configurePredicate(CamelContext camelContext,
Predicate predicate)
|
protected void |
XQueryExpression.configurePredicate(CamelContext camelContext,
Predicate predicate)
|
Constructors in org.apache.camel.model.language with parameters of type Predicate | |
---|---|
ExpressionDefinition(Predicate predicate)
|
Uses of Predicate in org.apache.camel.processor |
---|
Fields in org.apache.camel.processor declared as Predicate | |
---|---|
protected Predicate |
RedeliveryErrorHandler.retryWhilePolicy
|
Methods in org.apache.camel.processor that return Predicate | |
---|---|
Predicate |
BatchProcessor.getCompletionPredicate()
Deprecated. |
protected Predicate |
RedeliveryErrorHandler.getDefaultHandledPredicate()
|
protected Predicate |
DeadLetterChannel.getDefaultHandledPredicate()
|
Predicate |
FilterProcessor.getPredicate()
|
Methods in org.apache.camel.processor with parameters of type Predicate | |
---|---|
void |
BatchProcessor.setCompletionPredicate(Predicate completionPredicate)
Deprecated. |
boolean |
RedeliveryPolicy.shouldRedeliver(Exchange exchange,
int redeliveryCounter,
Predicate retryWhile)
Returns true if the policy decides that the message exchange should be redelivered. |
Constructors in org.apache.camel.processor with parameters of type Predicate | |
---|---|
CatchProcessor(List<Class<? extends Throwable>> exceptions,
Processor processor,
Predicate onWhen,
Predicate handled)
|
|
DeadLetterChannel(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy,
Processor deadLetter,
String deadLetterUri,
boolean useOriginalBodyPolicy,
Predicate retryWhile,
ScheduledExecutorService executorService)
Creates the dead letter channel. |
|
DefaultErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy,
Predicate retryWhile,
ScheduledExecutorService executorService)
Creates the default error handler. |
|
FilterProcessor(Predicate predicate,
Processor processor)
|
|
OnCompletionProcessor(CamelContext camelContext,
Processor processor,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean onCompleteOnly,
boolean onFailureOnly,
Predicate onWhen,
boolean useOriginalBody)
|
|
RedeliveryErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
Processor deadLetter,
String deadLetterUri,
boolean useOriginalMessagePolicy,
Predicate retryWhile,
ScheduledExecutorService executorService)
|
Uses of Predicate in org.apache.camel.processor.aggregate |
---|
Methods in org.apache.camel.processor.aggregate that return Predicate | |
---|---|
Predicate |
AggregateProcessor.getCompletionPredicate()
|
Methods in org.apache.camel.processor.aggregate with parameters of type Predicate | |
---|---|
void |
AggregateProcessor.setCompletionPredicate(Predicate completionPredicate)
|
Uses of Predicate in org.apache.camel.processor.interceptor |
---|
Methods in org.apache.camel.processor.interceptor that return Predicate | |
---|---|
Predicate |
Tracer.getTraceFilter()
|
Methods in org.apache.camel.processor.interceptor with parameters of type Predicate | |
---|---|
void |
Tracer.setTraceFilter(Predicate traceFilter)
Sets a predicate to be used as filter when tracing |
Uses of Predicate in org.apache.camel.processor.validation |
---|
Methods in org.apache.camel.processor.validation that return Predicate | |
---|---|
Predicate |
PredicateValidationException.getPredicate()
|
Predicate |
PredicateValidatingProcessor.getPredicate()
|
Methods in org.apache.camel.processor.validation with parameters of type Predicate | |
---|---|
protected static String |
PredicateValidationException.buildMessage(Predicate predicate,
Exchange exchange)
|
Constructors in org.apache.camel.processor.validation with parameters of type Predicate | |
---|---|
PredicateValidatingProcessor(Predicate predicate)
|
|
PredicateValidationException(Exchange exchange,
Predicate predicate)
|
Uses of Predicate in org.apache.camel.spi |
---|
Methods in org.apache.camel.spi that return Predicate | |
---|---|
Predicate |
Language.createPredicate(String expression)
Creates a predicate based on the given string input |
Uses of Predicate in org.apache.camel.support |
---|
Classes in org.apache.camel.support that implement Predicate | |
---|---|
class |
ExpressionAdapter
A helper class for developers wishing to implement an Expression
using Java code with a minimum amount of code to write so that the developer only needs
to implement one of the ExpressionAdapter.evaluate(org.apache.camel.Exchange, Class) or
ExpressionSupport.evaluate(org.apache.camel.Exchange) methods. |
class |
ExpressionSupport
A useful base class for Predicate and Expression implementations |
class |
TokenPairExpressionIterator
Expression to walk a Message body
using an Iterator , which grabs the content between a start and end token. |
class |
TokenXMLPairExpressionIterator
Expression to walk a Message XML body
using an Iterator , which grabs the content between a XML start and end token. |
Uses of Predicate in org.apache.camel.util |
---|
Classes in org.apache.camel.util that implement Predicate | |
---|---|
class |
ExpressionToPredicateAdapter
|
Methods in org.apache.camel.util that return Predicate | |
---|---|
static Predicate |
ExpressionToPredicateAdapter.toPredicate(Expression expression)
Converts the given expression into an Predicate |
Methods in org.apache.camel.util with parameters of type Predicate | |
---|---|
static void |
PredicateAssertHelper.assertMatches(Predicate predicate,
String text,
Exchange exchange)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |