- Type Parameters:
I
- the type of the entity ID
- All Superinterfaces:
- java.util.function.BiFunction<M,io.spine.core.CommandContext,I>, Route<M,io.spine.core.CommandContext,I>, java.io.Serializable, Unicast<I,M,io.spine.core.CommandContext>
- All Known Implementing Classes:
- DefaultCommandRoute
@FunctionalInterface
public interface CommandRoute<I,M extends io.spine.base.CommandMessage>
extends Unicast<I,M,io.spine.core.CommandContext>
Obtains an ID of an entity which handles the command.