Class DynamicCommand
java.lang.Object
dev.ua.theroer.magicutils.commands.MagicCommand
dev.ua.theroer.magicutils.commands.DynamicCommand
Concrete
MagicCommand implementation backed by a CommandSpec.-
Nested Class Summary
Nested classes/interfaces inherited from class MagicCommand
MagicCommand.Builder<S>, MagicCommand.SubCommandInfo -
Constructor Summary
ConstructorsConstructorDescriptionDynamicCommand(CommandSpec<?> spec) Creates a dynamic command from a command spec. -
Method Summary
Methods inherited from class MagicCommand
addAlias, addSubCommand, addSubCommand, builder, copy, findExecuteMethod, fromSpec, getArguments, getCommandInfo, getSubCommands, getUsage, isFrozen, mergeSubCommands, mount, mount, mountSubCommands, overrideInfo, removeAlias, resolveInfo, setExecute, setExecute, setExecute, setExecute, setExecute, setExecute, withInfo, withName
-
Constructor Details
-
DynamicCommand
Creates a dynamic command from a command spec.- Parameters:
spec- command specification
-
-
Method Details
-
spec
-