Uses of Interface
org.apache.camel.Predicate

Packages that use Predicate
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.impl Default implementation classes for Camel Core 
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.simple Camel Simple 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.spi Service Provider Interfaces used internally by the Camel runtime which are plugin strategies. 
 

Uses of Predicate in org.apache.camel.builder
 

Classes in org.apache.camel.builder that implement Predicate
 class BinaryPredicateSupport<E extends Exchange>
          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 PredicateSupport<E extends Exchange>
          A useful base class for Predicate implementations
 

Methods in org.apache.camel.builder that return Predicate
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.and(Predicate<E> left, Predicate<E> right)
          A helper method to combine multiple predicates by a logical AND
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.contains(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.contains(Object value)
          Create a predicate that the left hand expression contains the value of the right hand expression
 Predicate<E> PredicateFactory.createPredicate()
          Creates a predicate object
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isEqualTo(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.isEqualTo(Object value)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isGreaterThan(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.isGreaterThan(Object value)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isGreaterThanOrEqualTo(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.isGreaterThanOrEqualTo(Object value)
           
 Predicate<E> ValueBuilder.isInstanceOf(Class type)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isInstanceOf(Expression<E> expression, Class type)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isLessThan(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.isLessThan(Object value)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isLessThanOrEqualTo(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.isLessThanOrEqualTo(Object value)
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNotEqualTo(Expression<E> left, Expression<E> right)
           
 Predicate<E> ValueBuilder.isNotEqualTo(Object value)
           
 Predicate<E> ValueBuilder.isNotNull()
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNotNull(Expression<E> expression)
           
 Predicate<E> ValueBuilder.isNull()
           
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.isNull(Expression<E> expression)
           
 Predicate<E> ValueBuilder.matchesRegex(String regex)
          Deprecated. use ValueBuilder.regex(String). Will be removed in Camel 2.0
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.not(Predicate<E> predicate)
          A helper method to return the logical not of the given predicate
protected  Predicate<E> ValueBuilder.onNewPredicate(Predicate<E> predicate)
          A strategy method to allow derived classes to deal with the newly created predicate in different ways
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.or(Predicate<E> left, Predicate<E> right)
          A helper method to combine multiple predicates by a logical OR
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.regex(Expression<E> expression, Pattern pattern)
          Returns a predicate which is true if the expression matches the given regular expression
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.regex(Expression<E> expression, String regex)
          Returns a predicate which is true if the expression matches the given regular expression
 Predicate<E> ValueBuilder.regex(String regex)
          Creates a predicate which is true if this expression matches the given regular expression
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.toPredicate(Expression<E> expression)
          Converts the given expression into an Predicate
 

Methods in org.apache.camel.builder with parameters of type Predicate
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.and(Predicate<E> left, Predicate<E> right)
          A helper method to combine multiple predicates by a logical AND
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.and(Predicate<E> left, Predicate<E> right)
          A helper method to combine multiple predicates by a logical AND
 ChoiceType RouteBuilder.intercept(Predicate predicate)
          Applies a route for an interceptor if the given predicate is true otherwise the interceptor route is not applied
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.not(Predicate<E> predicate)
          A helper method to return the logical not of the given predicate
protected  Predicate<E> ValueBuilder.onNewPredicate(Predicate<E> predicate)
          A strategy method to allow derived classes to deal with the newly created predicate in different ways
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.or(Predicate<E> left, Predicate<E> right)
          A helper method to combine multiple predicates by a logical OR
static
<E extends Exchange>
Predicate<E>
PredicateBuilder.or(Predicate<E> left, Predicate<E> right)
          A helper method to combine multiple predicates by a logical OR
 

Uses of Predicate in org.apache.camel.builder.xml
 

Classes in org.apache.camel.builder.xml that implement Predicate
 class XPathBuilder<E extends Exchange>
          Creates an XPath expression builder which creates a nodeset result by default.
 

Uses of Predicate in org.apache.camel.component.mock
 

Methods in org.apache.camel.component.mock that return Predicate
protected  Predicate<Exchange> AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate<Exchange> predicate)
           
 

Methods in org.apache.camel.component.mock with parameters of type Predicate
protected  void AssertionClause.addPredicate(Predicate<Exchange> predicate)
           
protected  Predicate<Exchange> AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate<Exchange> predicate)
           
 AssertionClause AssertionClause.predicate(Predicate<Exchange> 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
 Processor CamelConverter.toProcessor(Predicate<Exchange> predicate)
           
 

Uses of Predicate in org.apache.camel.impl
 

Classes in org.apache.camel.impl that implement Predicate
 class ExpressionSupport<E extends Exchange>
          A useful base class for Predicate and Expression implementations
 

Uses of Predicate in org.apache.camel.language.bean
 

Classes in org.apache.camel.language.bean that implement Predicate
 class BeanExpression<E extends Exchange>
          Evaluates an expression using a bean method invocation
 

Methods in org.apache.camel.language.bean that return Predicate
 Predicate<Exchange> BeanLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.constant
 

Methods in org.apache.camel.language.constant that return Predicate
 Predicate<Exchange> ConstantLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.header
 

Methods in org.apache.camel.language.header that return Predicate
 Predicate<Exchange> HeaderLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.simple
 

Methods in org.apache.camel.language.simple that return Predicate
 Predicate<Exchange> AbstractSimpleLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.language.xpath
 

Methods in org.apache.camel.language.xpath that return Predicate
 Predicate<Exchange> XPathLanguage.createPredicate(String expression)
           
 

Uses of Predicate in org.apache.camel.model
 

Methods in org.apache.camel.model that return Predicate
 Predicate ExpressionSubElementType.createPredicate(RouteContext routeContext)
           
 Predicate ExceptionType.getHandledPolicy()
           
 Predicate ExpressionSubElementType.getPredicate()
           
 

Methods in org.apache.camel.model with parameters of type Predicate
 AggregatorType AggregatorType.completedPredicate(Predicate predicate)
          Sets the predicate used to determine if the aggregation is completed
 FilterType ProcessorType.filter(Predicate predicate)
          Creates a predicate which is applied and only if it is true then the exchange is forwarded to the destination
 ExceptionType ExceptionType.handled(Predicate handled)
           
 ChoiceType RoutesType.intercept(Predicate predicate)
           
 ChoiceType ProcessorType.intercept(Predicate predicate)
          Apply an interceptor route if the predicate is true
 ExceptionType ExceptionType.onWhen(Predicate predicate)
           
 void ExceptionType.setHandledPolicy(Predicate handledPolicy)
           
 void ExpressionSubElementType.setPredicate(Predicate predicate)
           
 ChoiceType InterceptType.when(Predicate predicate)
          Applies this interceptor only if the given predicate is true
 ChoiceType ChoiceType.when(Predicate predicate)
           
 

Constructors in org.apache.camel.model with parameters of type Predicate
ExpressionNode(Predicate predicate)
           
ExpressionSubElementType(Predicate predicate)
           
FilterType(Predicate predicate)
           
WhenType(Predicate predicate)
           
 

Uses of Predicate in org.apache.camel.model.language
 

Classes in org.apache.camel.model.language that implement Predicate
 class BeanShellExpression
          Deprecated. use LanguageExpression will be removed in Camel 2.0
 class ConstantExpression
          For expressions and predicates using a constant
 class ELExpression
          For EL expressions and predicates
 class ExpressionType
          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 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 PythonExpression
          For Python expressions and predicates
 class RubyExpression
          For Ruby expressions and predicates
 class SimpleExpression
          For expressions and predicates using the
 class SqlExpression
          For SQL expressions and predicates
 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<Exchange> MethodCallExpression.createPredicate(RouteContext routeContext)
           
 Predicate<Exchange> ExpressionType.createPredicate(RouteContext routeContext)
           
 Predicate ExpressionType.getPredicate()
           
 

Methods in org.apache.camel.model.language with parameters of type Predicate
protected  void XQueryExpression.configurePredicate(RouteContext routeContext, Predicate predicate)
           
protected  void XPathExpression.configurePredicate(RouteContext routeContext, Predicate predicate)
           
protected  void NamespaceAwareExpression.configurePredicate(RouteContext routeContext, Predicate predicate)
           
protected  void ExpressionType.configurePredicate(RouteContext routeContext, Predicate predicate)
           
 

Constructors in org.apache.camel.model.language with parameters of type Predicate
ExpressionType(Predicate predicate)
           
 

Uses of Predicate in org.apache.camel.processor
 

Methods in org.apache.camel.processor that return Predicate
 Predicate<Exchange> FilterProcessor.getPredicate()
           
 

Methods in org.apache.camel.processor with parameters of type Predicate
protected static void DeadLetterChannel.restoreExceptionOnExchange(Exchange exchange, Predicate handledPredicate)
           
 

Constructors in org.apache.camel.processor with parameters of type Predicate
Aggregator(Processor processor, Expression correlationExpression, AggregationStrategy aggregationStrategy, Predicate aggregationCompletedPredicate)
           
FilterProcessor(Predicate<Exchange> predicate, Processor processor)
           
 

Uses of Predicate in org.apache.camel.processor.aggregate
 

Constructors in org.apache.camel.processor.aggregate with parameters of type Predicate
PredicateAggregationCollection(Expression<Exchange> correlationExpression, AggregationStrategy aggregationStrategy, Predicate aggregationCompletedPredicate)
           
 

Uses of Predicate in org.apache.camel.processor.interceptor
 

Methods in org.apache.camel.processor.interceptor that return Predicate
 Predicate Tracer.getTraceFilter()
           
 Predicate DebugInterceptor.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
 void DebugInterceptor.setTraceFilter(Predicate traceFilter)
           
 

Uses of Predicate in org.apache.camel.spi
 

Methods in org.apache.camel.spi that return Predicate
 Predicate<Exchange> Language.createPredicate(String expression)
          Creates a predicate based on the given string input
 



Copyright © 2009 Apache Software Foundation. All Rights Reserved.