org.ikasan.framework.component.routing
Class ContainsPayloadRouter

java.lang.Object
  extended by org.ikasan.framework.component.routing.SingleResultRouter
      extended by 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

Field Summary
 
Fields inherited from interface org.ikasan.framework.component.routing.Router
DEFAULT_RESULT
 
Constructor Summary
ContainsPayloadRouter()
          Deprecated.  
 
Method Summary
protected  String evaluate(Event event)
          Deprecated. Simply assesses whether or not the Event contains a Payload
 
Methods inherited from class org.ikasan.framework.component.routing.SingleResultRouter
onEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainsPayloadRouter

public ContainsPayloadRouter()
Deprecated. 
Method Detail

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.