com.hammurapi.eventbus
Class RetractCommand<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>

Show UML class diagram
java.lang.Object
  extended by com.hammurapi.eventbus.InferenceCommand<E,P,C,K,H,S>
      extended by com.hammurapi.eventbus.RetractCommand<E,P,C,K,H,S>
Type Parameters:
E -
P -
C -
H -

public class RetractCommand<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
extends InferenceCommand<E,P,C,K,H,S>

This command is posted to execution when event is removed from the bus and there are remove handlers matching the event.


Constructor Summary
RetractCommand(E[] events, K handlerId, EventHandler<E,P,C,H,S> handler, InferenceContext<E,P,C,K,H,S> inferenceContext)
           
 
Method Summary
 E[] getEvents()
           
 String toString()
           
 
Methods inherited from class com.hammurapi.eventbus.InferenceCommand
getHandler, getHandlerId, getInferenceContext, getInputs, setInferenceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetractCommand

public RetractCommand(E[] events,
                      K handlerId,
                      EventHandler<E,P,C,H,S> handler,
                      InferenceContext<E,P,C,K,H,S> inferenceContext)
Method Detail

getEvents

public E[] getEvents()

toString

public String toString()
Overrides:
toString in class Object