Class LiteralCommandNode<S extends CommandSource>
java.lang.Object
studio.mevera.imperat.command.tree.CommandNode<S,Command<S>>
studio.mevera.imperat.command.tree.LiteralCommandNode<S>
- All Implemented Interfaces:
Comparable<CommandNode<S,,?>> Prioritizable
@Internal
public final class LiteralCommandNode<S extends CommandSource>
extends CommandNode<S,Command<S>>
-
Nested Class Summary
Nested classes/interfaces inherited from class studio.mevera.imperat.command.tree.CommandNode
CommandNode.CompletionCache<S extends CommandSource> -
Field Summary
Fields inherited from class studio.mevera.imperat.command.tree.CommandNode
data, executableUsage -
Method Summary
Modifier and TypeMethodDescriptioncopy()@Nullable CommandNode<S,?> findNodeForPathway(CommandPathway<S> inheritedPathway) format()@NotNull PrioritybooleanisSecret()Whether this node represents a secret command.Methods inherited from class studio.mevera.imperat.command.tree.CommandNode
addChild, compareTo, createArgumentNode, createCommandNode, equals, findNode, getChild, getChildren, getCompletionCache, getData, getDepth, getExecutableUsage, getNearestExecutableUsage, getNextCommandChild, getNextParameterChild, getNumberOfParametersToConsume, getParent, getPermissionsData, hashCode, isExecutable, isFlag, isGreedyParam, isLast, isLiteral, isOptional, isRequired, isRoot, isTrueFlag, parse, parse, parse, setCompletionCache, setExecutableUsage, setNearestExecutableUsage
-
Method Details
-
format
- Specified by:
formatin classCommandNode<S extends CommandSource,Command<S extends CommandSource>>
-
getPriority
-
copy
-
findNodeForPathway
-
isSecret
public boolean isSecret()Description copied from class:CommandNodeWhether this node represents a secret command. Only meaningful for literal (command) nodes.- Overrides:
isSecretin classCommandNode<S extends CommandSource,Command<S extends CommandSource>>
-