Class JumpActionHandler<T>
- java.lang.Object
-
- de.quantummaid.eventmaid.channel.action.JumpActionHandler<T>
-
- Type Parameters:
T- the type of messages of theChannel
- All Implemented Interfaces:
ActionHandler<Jump<T>,T>
public final class JumpActionHandler<T> extends Object implements ActionHandler<Jump<T>,T>
TheActionHandlerimplementation for theJumpAction. This handler will take the message and sends it on the given target the type of messages of theChannel.- See Also:
- EventMaid Documentation
-
-
Constructor Summary
Constructors Constructor Description JumpActionHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(Jump<T> jump, ProcessingContext<T> processingContext)Takes the message and sends in on the givenChannel.static <T> JumpActionHandler<T>jumpActionHandler()Factory method for a newJumpActionHandler.
-
-
-
Method Detail
-
jumpActionHandler
public static <T> JumpActionHandler<T> jumpActionHandler()
Factory method for a newJumpActionHandler.- Type Parameters:
T- the type of messages of theChannel- Returns:
- a new
JumpActionHandler
-
handle
public void handle(Jump<T> jump, ProcessingContext<T> processingContext)
Takes the message and sends in on the givenChannel.- Specified by:
handlein interfaceActionHandler<Jump<T>,T>- Parameters:
jump- theJumpActionprocessingContext- the message
-
-