Package cloud.commandframework.execution
Class CommandResult<C>
- java.lang.Object
-
- cloud.commandframework.execution.CommandResult<C>
-
- Type Parameters:
C
- Command sender type
public class CommandResult<C> extends java.lang.Object
The result of a command execution
-
-
Constructor Summary
Constructors Constructor Description CommandResult(@NonNull CommandContext<C> context)
Construct a new command result instance
-
Method Summary
Modifier and Type Method Description @NonNull CommandContext<C>
getCommandContext()
Get the command context
-
-
-
Constructor Detail
-
CommandResult
public CommandResult(@NonNull CommandContext<C> context)
Construct a new command result instance- Parameters:
context
- Command context
-
-
Method Detail
-
getCommandContext
public @NonNull CommandContext<C> getCommandContext()
Get the command context- Returns:
- Command context
-
-