Class AutopilotCancelArgumentCommand
java.lang.Object
org.ships.commands.argument.ship.autopilot.AutopilotCancelArgumentCommand
- All Implemented Interfaces:
org.core.command.argument.ArgumentCommand
public class AutopilotCancelArgumentCommand
extends Object
implements org.core.command.argument.ArgumentCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.core.command.argument.arguments.operation.ExactArgument
static final ShipIdArgument<Vessel>
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
SHIP_ARGUMENT
public static final org.core.command.argument.arguments.operation.ExactArgument SHIP_ARGUMENT -
SHIP_ID_ARGUMENT
-
-
Constructor Details
-
AutopilotCancelArgumentCommand
public AutopilotCancelArgumentCommand()
-
-
Method Details
-
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
-