Interface CommandInstaller


public interface CommandInstaller
Service provider interface for other modules to provide commands.

Implementations should be registered for

invalid reference
ServiceLoader
to load.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called on all registered command installers during initialization of a script executor.
  • Method Details

    • install

      void install(Map<String,Command> commands)
      Called on all registered command installers during initialization of a script executor. The implementation should add commands to the provided map. The String key is the name used to look up the command in the Namespace. A command might be registered under multiple names.
      Parameters:
      commands - map to install commands to