org.ikasan.framework.component.routing
Class ContainsPayloadRouter
java.lang.Object
org.ikasan.framework.component.routing.SingleResultRouter
org.ikasan.framework.component.routing.ContainsPayloadRouter
- All Implemented Interfaces:
- Router, FlowComponent
Deprecated. No longer used as Initiators no longer deliver empty events.
@Deprecated
public class ContainsPayloadRouter
- extends SingleResultRouter
Simple Router that switches between a single "true" result or a single "false" result depending on
whether the incoming Event contains 1 or more Payloads
- Author:
- Ikasan Development Team
|
Method Summary |
protected String |
evaluate(Event event)
Deprecated. Simply assesses whether or not the Event contains a Payload |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainsPayloadRouter
public ContainsPayloadRouter()
- Deprecated.
evaluate
protected String evaluate(Event event)
- Deprecated.
- Simply assesses whether or not the Event contains a Payload
- Specified by:
evaluate in class SingleResultRouter
- Parameters:
event - The even to assess
- Returns:
- "true" or "false" depending on the event contents
Copyright © 2007-2012 Ikasan. All Rights Reserved.