Class CmdNmsProviders
- All Implemented Interfaces:
Active, PluginIdentifiableCommand
/kc nmstest exercises the providers but needs a player, so it cannot be used to check a
server version without someone logging in. This runs from the console, which is what makes the
version matrix checkable: every dispatch ladder is evaluated, every provider is constructed, and
the class that comes back is printed by name.
It is aimed at one failure in particular. Each versions/* module targets the JVM its own
Minecraft version required, so a ladder that sends an old server to a module built for a newer one
throws UnsupportedClassVersionError the moment that provider is touched. Before this
existed, the only way to find that was to boot the server and wait for something to use the
provider. Here every provider is touched on purpose, and the failure is reported against the name
of the one that broke rather than surfacing later from unrelated code.
-
Nested Class Summary
Nested classes/interfaces inherited from class KamiCommand
KamiCommand.Config -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class KamiCommand
addAliases, addAliases, addChild, addChild, addChildAfter, addParameter, addParameter, addRequirements, addRequirements, applyConcatenating, argIsSet, argIsSet, execute, getActivePlugin, getAllInstances, getBukkitCommandPermission, getChain, getChild, getCommandLine, getConcatenationIndex, getCurrentCommandLine, getCurrentTemplateChainMini, getCurrentTemplateUsageMini, getDesc, getDescPermission, getFullTemplate, getHelpClickable, getHelpCommand, getHelpCommandLine, getPageParameterIndex, getParameter, getParameterCount, getParameterCountOptional, getParameterCountRequired, getParameterType, getParents, getPlugin, getRequirementsError, getRoot, getSuggestionClickable, getSuggestionCommandLine, getTabCompletions, getTabCompletionsArg, getTabCompletionsChild, getTemplateParameters, getVisibleChildren, hasChildren, hasParameterForIndex, hasParent, isActive, isChild, isFullChainMet, isLeaf, isParent, isRelevant, isRequirementsMet, isRoot, isVisibleTo, onUnmatchedArg, readArg, readArg, registerCommand, removeChild, removeParent, replaceChild, setActive, setActive, setActivePlugin, setAliases, setAliases, setBukkitCommandPermission, setConcatenating, setDesc, setHelpComments, setHelpComments, setOverflowSensitive, setParameter, setParent, setRequirements, setSwapping, setTokenizing, setUnsmart, unregisterCommand, validateActiveAndRoot
-
Constructor Details
-
CmdNmsProviders
public CmdNmsProviders()
-
-
Method Details
-
perform
- Overrides:
performin classKamiCommand
-