Package org.incendo.cloud.help.result
Interface CommandEntry<C>
- All Superinterfaces:
Comparable<CommandEntry<C>>
-
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the command.default intcompareTo(@NonNull CommandEntry<C> other) static <C> @NonNull CommandEntry<C> Creates a new command entry.syntax()Returns the command syntax.
-
Method Details
-
of
Creates a new command entry.- Type Parameters:
C- the command sender type- Parameters:
command- the commandsyntax- the command syntax- Returns:
- the created entry
-
command
Returns the command.- Returns:
- the command
-
syntax
Returns the command syntax.- Returns:
- the command syntax
-
compareTo
- Specified by:
compareToin interfaceComparable<C>
-