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.impl Default implementation classes for Camel Core 
org.apache.camel.language.simple   
org.apache.camel.model Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. 
org.apache.camel.model.language Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. 
org.apache.camel.processor A collection of Processor implementations which are used to implement the Enterprise Integration Patterns 
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
 

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)
           
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 stategy 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
 OtherwiseType 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 stategy 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
 

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

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

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

Methods in org.apache.camel.component.mock with parameters of type Predicate
protected  void AssertionClause.addPredicate(Predicate<E> predicate)
           
protected  Predicate<E> AssertionClause.PredicateValueBuilder.onNewPredicate(Predicate<E> predicate)
           
 AssertionClause<E> AssertionClause.predicate(Predicate<E> predicate)
          Adds the given predicate to this assertion clause
 

Uses of Predicate in org.apache.camel.impl
 

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

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

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

Uses of Predicate in org.apache.camel.model
 

Methods in org.apache.camel.model with parameters of type Predicate
 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
 OtherwiseType ProcessorType.intercept(Predicate predicate)
          Apply an interceptor route if the predicate is true
 OtherwiseType RoutesType.intercept(Predicate predicate)
           
 ChoiceType ChoiceType.when(Predicate predicate)
           
 OtherwiseType InterceptType.when(Predicate predicate)
          Applies this interceptor only if the given predicate is true
 

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

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

Methods in org.apache.camel.model.language that return Predicate
 Predicate<Exchange> ExpressionType.createPredicate(RouteContext route)
           
 

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()
           
 

Constructors in org.apache.camel.processor with parameters of type Predicate
FilterProcessor(Predicate<Exchange> predicate, Processor processor)
           
 

Uses of Predicate in org.apache.camel.spi
 

Methods in org.apache.camel.spi that return Predicate
 Predicate<Exchange> Language.createPredicate(String expression)
           
 



Copyright © 2007 Apache Software Foundation. All Rights Reserved.