Class ActionToCommandMapper

java.lang.Object
io.dialob.session.engine.session.ActionToCommandMapper
All Implemented Interfaces:
Function<io.dialob.api.proto.Action,Command<?>>

public final class ActionToCommandMapper extends Object implements Function<io.dialob.api.proto.Action,Command<?>>
  • Field Details

  • Method Details

    • toCommands

      public static List<Command<?>> toCommands(Iterable<io.dialob.api.proto.Action> actions)
    • apply

      public Command<?> apply(io.dialob.api.proto.Action action)
      Specified by:
      apply in interface Function<io.dialob.api.proto.Action,Command<?>>