net.sf.seide.stages
Class RoutingOutcome

java.lang.Object
  extended by net.sf.seide.stages.RoutingOutcome

public class RoutingOutcome
extends Object

RoutingOutcome represents the output of an EventHandler, and instructs the Dispatcher the routing of the upcoming Events.

Author:
german.kondolf

Constructor Summary
RoutingOutcome()
           
 
Method Summary
 RoutingOutcome add(Event event)
           
 RoutingOutcome add(String stage, Message message)
           
 RoutingOutcome configureJoinEvent(Event event)
           
static RoutingOutcome create()
           
static RoutingOutcome create(Event event)
           
static RoutingOutcome create(String stage, Message message)
           
static RoutingOutcome createAndReturnMessage(Message returnMessage)
           
 Collection<Event> getEvents()
           
 Event getJoinEvent()
           
 Message getReturnMessage()
           
 boolean hasJoinEvent()
           
 boolean isEmpty()
           
 RoutingOutcome returnMessage(Message returnMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingOutcome

public RoutingOutcome()
Method Detail

create

public static RoutingOutcome create()

create

public static RoutingOutcome create(Event event)

create

public static RoutingOutcome create(String stage,
                                    Message message)

createAndReturnMessage

public static RoutingOutcome createAndReturnMessage(Message returnMessage)

add

public RoutingOutcome add(String stage,
                          Message message)

add

public RoutingOutcome add(Event event)

configureJoinEvent

public RoutingOutcome configureJoinEvent(Event event)

returnMessage

public RoutingOutcome returnMessage(Message returnMessage)

getReturnMessage

public Message getReturnMessage()

getEvents

public Collection<Event> getEvents()

hasJoinEvent

public boolean hasJoinEvent()

getJoinEvent

public Event getJoinEvent()

isEmpty

public boolean isEmpty()


Copyright © 2011. All Rights Reserved.