Interface CommandSink

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CommandSink
command 动作使用的宿主集成。
  • Method Details

    • dispatch

      Object dispatch(Object sender, String command)
    • dispatchAsOperator

      default Object dispatchAsOperator(Object sender, String command)
      command ... as op:临时以管理员身份执行;默认不支持。