-
- All Implemented Interfaces:
public class CommandRegistrationServiceService that inject SpringFoxCommand into bukkit command system
-
-
Field Summary
Fields Modifier and Type Field Description private final CommandMapcommandMap
-
Constructor Summary
Constructors Constructor Description CommandRegistrationService()
-
Method Summary
Modifier and Type Method Description final CommandMapgetCommandMap()final UnitsyncCommand()final CommandgetOrRegister(String name, Plugin plugin, Function0<Command> supplier)final Commandget(String name)-
-
Method Detail
-
getCommandMap
@Bean() final CommandMap getCommandMap()
-
syncCommand
final Unit syncCommand()
-
getOrRegister
final Command getOrRegister(String name, Plugin plugin, Function0<Command> supplier)
-
-
-
-