Class AbstractShipsConfigSetArgument
java.lang.Object
org.ships.commands.argument.config.AbstractShipsConfigSetArgument
- All Implemented Interfaces:
org.core.command.argument.ArgumentCommand
public class AbstractShipsConfigSetArgument
extends Object
implements org.core.command.argument.ArgumentCommand
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractShipsConfigSetArgument
(Supplier<? extends Config.KnownNodes> config, String... configNames) -
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
-
Constructor Details
-
AbstractShipsConfigSetArgument
public AbstractShipsConfigSetArgument(Supplier<? extends Config.KnownNodes> config, String... configNames)
-
-
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 context, String... args) throws org.core.exceptions.NotEnoughArguments - Specified by:
run
in interfaceorg.core.command.argument.ArgumentCommand
- Throws:
org.core.exceptions.NotEnoughArguments
-