Class DatabaseCommands
java.lang.Object
com.djrapitops.plan.commands.subcommands.DatabaseCommands
-
Constructor Summary
ConstructorDescriptionDatabaseCommands
(Locale locale, Confirmation confirmation, ColorScheme colors, PlanFiles files, PlanConfig config, DBSystem dbSystem, SQLiteDB.Factory sqliteFactory, QuerySvc queryService, ServerInfo serverInfo, Formatters formatters, Identifiers identifiers, PluginStatusCommands statusCommands, ErrorLogger errorLogger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
onFixFabricJoinAddresses
(String mainCommand, CMDSender sender, Arguments arguments) void
void
void
void
void
onUninstalled
(CMDSender sender, Arguments arguments) void
performBackup
(CMDSender sender, Arguments arguments, String dbName, Database fromDB) void
performRestore
(CMDSender sender, File backupDBFile, Database toDB)
-
Constructor Details
-
DatabaseCommands
@Inject public DatabaseCommands(Locale locale, Confirmation confirmation, ColorScheme colors, PlanFiles files, PlanConfig config, DBSystem dbSystem, SQLiteDB.Factory sqliteFactory, QuerySvc queryService, ServerInfo serverInfo, Formatters formatters, Identifiers identifiers, PluginStatusCommands statusCommands, ErrorLogger errorLogger)
-
-
Method Details
-
onBackup
-
performBackup
-
onRestore
-
performRestore
-
onMove
-
onClear
-
onFixFabricJoinAddresses
-
onRemove
-
onUninstalled
-
onHotswap
-