com.hammurapi.flow.runtime
Interface Invoker<S,A>

Type Parameters:
S - Flow state type.
A - Argument type.

public interface Invoker<S,A>

Transition ends and node outputs implement this interface.

Author:
Pavel

Method Summary
 void setInvocable(Invocable<S,A> invocable)
          Sets invoker.
 

Method Detail

setInvocable

void setInvocable(Invocable<S,A> invocable)
                  throws IllegalStateException
Sets invoker.

Parameters:
sink -
Throws:
IllegalStateException - If invoker is already connected to invocable.