Class CoreCommandSubCommand

  • All Implemented Interfaces:
    ICoreCommand

    public abstract class CoreCommandSubCommand
    extends java.lang.Object
    implements ICoreCommand
    • Constructor Detail

      • CoreCommandSubCommand

        public CoreCommandSubCommand​(java.lang.String command,
                                     java.lang.String parameters,
                                     java.lang.String description,
                                     PermissionsManager permissions,
                                     ICoreCommand parentCommand)
      • CoreCommandSubCommand

        public CoreCommandSubCommand​(java.lang.String command,
                                     java.lang.String parameters,
                                     java.lang.String description,
                                     ICoreCommand parentCommand)
    • Method Detail

      • getParameters

        public java.lang.String getParameters()
        Specified by:
        getParameters in interface ICoreCommand
        Returns:
        The parameters of command
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface ICoreCommand
        Returns:
        The description of command
      • getCommand

        public java.lang.String getCommand()
        Specified by:
        getCommand in interface ICoreCommand
        Returns:
        The current command