Class CoreCommandSubCommand
- java.lang.Object
-
- com.playernguyen.playernguyencore.command.CoreCommandSubCommand
-
- All Implemented Interfaces:
ICoreCommand
public abstract class CoreCommandSubCommand extends java.lang.Object implements ICoreCommand
-
-
Constructor Summary
Constructors Constructor Description CoreCommandSubCommand(java.lang.String command, java.lang.String parameters, java.lang.String description, ICoreCommand parentCommand)
CoreCommandSubCommand(java.lang.String command, java.lang.String parameters, java.lang.String description, PermissionsManager permissions, ICoreCommand parentCommand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommand()
java.lang.String
getDescription()
java.lang.String
getParameters()
ICoreCommand
getParentCommand()
PermissionsManager
getPermissions()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.playernguyen.playernguyencore.command.ICoreCommand
onExecute, onTab
-
-
-
-
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 interfaceICoreCommand
- Returns:
- The parameters of command
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceICoreCommand
- Returns:
- The description of command
-
getCommand
public java.lang.String getCommand()
- Specified by:
getCommand
in interfaceICoreCommand
- Returns:
- The current command
-
getParentCommand
public ICoreCommand getParentCommand()
-
getPermissions
public PermissionsManager getPermissions()
-
-