Class AliasCommands

  • All Implemented Interfaces:
    CommandGroup

    public class AliasCommands
    extends SimpleCommandGroup
    Built-in alias commands: alias and unalias.

    This command group is automatically added to DefaultCommandDispatcher when an AliasManager is configured.

    • alias ? list all aliases
    • alias name=expansion ? define an alias
    • alias name ? show a single alias
    • unalias name ? remove an alias
    Since:
    4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      AliasCommands​(AliasManager aliasManager)
      Creates alias commands backed by the given alias manager.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AliasCommands

        public AliasCommands​(AliasManager aliasManager)
        Creates alias commands backed by the given alias manager.
        Parameters:
        aliasManager - the alias manager