Class AbstractShipsDataViewCommand
java.lang.Object
org.ships.commands.argument.ship.data.AbstractShipsDataViewCommand
- All Implemented Interfaces:
org.core.command.argument.ArgumentCommand
- Direct Known Subclasses:
ShipsDataViewMaxSpeedCommand
public abstract class AbstractShipsDataViewCommand
extends Object
implements org.core.command.argument.ArgumentCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.core.command.argument.CommandArgument<?>>
protected abstract List<org.core.command.argument.CommandArgument<?>>
Optional<org.core.permission.Permission>
protected abstract net.kyori.adventure.text.Component
getValue
(org.core.command.argument.context.CommandContext commandContext, Vessel vessel, String[] arguments) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.command.argument.ArgumentCommand
hasPermission
-
Constructor Details
-
AbstractShipsDataViewCommand
public AbstractShipsDataViewCommand()
-
-
Method Details
-
getExtraArguments
-
getValue
-
getArguments
- Specified by:
getArguments
in interfaceorg.core.command.argument.ArgumentCommand
-
getDescription
- Specified by:
getDescription
in interfaceorg.core.command.argument.ArgumentCommand
-
getPermissionNode
- Specified by:
getPermissionNode
in interfaceorg.core.command.argument.ArgumentCommand
-
run
public boolean run(org.core.command.argument.context.CommandContext commandContext, String... args) throws org.core.exceptions.NotEnoughArguments - Specified by:
run
in interfaceorg.core.command.argument.ArgumentCommand
- Throws:
org.core.exceptions.NotEnoughArguments
-