org.apache.camel.impl
Class ConditionSupport
java.lang.Object
org.apache.camel.impl.ConditionSupport
- All Implemented Interfaces:
- Condition
public class ConditionSupport
- extends Object
- implements Condition
A support class for Condition
implementations to use as base class.
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionSupport
public ConditionSupport()
matchProcess
public boolean matchProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition)
- Description copied from interface:
Condition
- Does the condition match
- Specified by:
matchProcess
in interface Condition
- Parameters:
exchange
- the exchangeprocessor
- the Processor
definition
- the present location in the route where the Exchange
is located at
- Returns:
- true to match, false otherwise
matchEvent
public boolean matchEvent(Exchange exchange,
EventObject event)
- Description copied from interface:
Condition
- Does the condition match
- Specified by:
matchEvent
in interface Condition
- Parameters:
exchange
- the exchangeevent
- the event (instance of AbstractExchangeEvent
- Returns:
- true to match, false otherwise
- See Also:
AbstractExchangeEvent
Apache Camel