Interface WalkResult<C extends CommandContext<C>>
- All Known Implementing Classes:
WalkResult.ArgumentExpected, WalkResult.ArgumentIllegal, WalkResult.Complete, WalkResult.LiteralExpected, WalkResult.LiteralUnknown
public sealed interface WalkResult<C extends CommandContext<C>>
permits WalkResult.ArgumentIllegal<C>, WalkResult.ArgumentExpected<C>, WalkResult.LiteralExpected<C>, WalkResult.LiteralUnknown<C>, WalkResult.Complete<C>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordWalkResult.ArgumentExpected<C extends CommandContext<C>>static final recordWalkResult.ArgumentIllegal<C extends CommandContext<C>>static final recordWalkResult.Complete<C extends CommandContext<C>>static final recordWalkResult.LiteralExpected<C extends CommandContext<C>>static final recordWalkResult.LiteralUnknown<C extends CommandContext<C>> -
Method Summary
-
Method Details
-
ctx
C ctx() -
lastLiteral
-
isValidUsage
boolean isValidUsage() -
message
-