Class ShipsShipTrackRegionArgumentCommand
java.lang.Object
org.ships.commands.argument.ship.track.ShipsShipTrackRegionArgumentCommand
- All Implemented Interfaces:
org.core.command.argument.ArgumentCommand
public class ShipsShipTrackRegionArgumentCommand
extends Object
implements org.core.command.argument.ArgumentCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.core.command.argument.CommandArgument<?>>
Optional<org.core.permission.Permission>
boolean
hasPermission
(org.core.source.command.CommandSource source) boolean
-
Constructor Details
-
ShipsShipTrackRegionArgumentCommand
public ShipsShipTrackRegionArgumentCommand()
-
-
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
-
hasPermission
public boolean hasPermission(org.core.source.command.CommandSource source) - Specified by:
hasPermission
in interfaceorg.core.command.argument.ArgumentCommand
-