- get(TypeToken<T>) - Static method in class org.enginehub.piston.converter.ArgumentConverters
-
- get() - Method in class org.enginehub.piston.converter.ConversionResult
-
Get the result, or throw an exception with all collected errors.
- get() - Method in class org.enginehub.piston.converter.FailedConversion
-
- get() - Method in class org.enginehub.piston.converter.SuccessfulConversion
-
- getAction() - Method in interface org.enginehub.piston.Command
-
- getAliases() - Method in interface org.enginehub.piston.Command
-
- getAllCommands() - Method in interface org.enginehub.piston.CommandManager
-
Retrieve all commands that are registered.
- getAllErrors() - Method in exception org.enginehub.piston.exception.ConversionFailedException
-
- getAnnotation() - Method in class org.enginehub.piston.inject.Key
-
- getAnnotationType() - Method in class org.enginehub.piston.inject.Key
-
- getArgumentName() - Method in interface org.enginehub.piston.part.ArgConsumingCommandPart
-
The name of the argument taken from the command-line.
- getArguments() - Method in interface org.enginehub.piston.CommandMetadata
-
- getBoundArguments() - Method in interface org.enginehub.piston.CommandParseResult
-
Get the raw argument bindings.
- getCalledName() - Method in interface org.enginehub.piston.CommandMetadata
-
- getCommand(String) - Method in interface org.enginehub.piston.CommandManager
-
Get the command with name name
, if registered.
- getCommandParseResult() - Method in exception org.enginehub.piston.exception.UsageException
-
- getCommands() - Method in exception org.enginehub.piston.exception.CommandException
-
Retrieves all commands associated with this exception.
- getCommands() - Method in class org.enginehub.piston.part.SubCommandPart
-
- getCondition() - Method in interface org.enginehub.piston.Command
-
- getCondition() - Method in exception org.enginehub.piston.exception.ConditionFailedException
-
- getConfig(Config<T>) - Method in class org.enginehub.piston.config.ConfigHolder
-
- getConfigs() - Method in class org.enginehub.piston.config.ConfigHolder
-
- getConversion() - Method in exception org.enginehub.piston.exception.ConversionFailedException
-
- getConverter(Key<T>) - Method in interface org.enginehub.piston.converter.ArgumentConverterAccess
-
Get a converter for a key.
- getConverter() - Method in exception org.enginehub.piston.exception.ConversionFailedException
-
- getConverters() - Method in interface org.enginehub.piston.CommandParameters
-
Get the converters used in this call.
- getConverters() - Method in class org.enginehub.piston.NoInputCommandParameters
-
- getDefaults() - Method in interface org.enginehub.piston.part.ArgAcceptingCommandPart
-
- getDescription() - Method in interface org.enginehub.piston.Command
-
- getDescription() - Method in interface org.enginehub.piston.part.CommandPart
-
Returns the description of this part.
- getError() - Method in class org.enginehub.piston.converter.FailedConversion
-
- getExecutionPath() - Method in interface org.enginehub.piston.CommandParseResult
-
Get the path of commands to be executed.
- getFooter() - Method in interface org.enginehub.piston.Command
-
- getFullHelp() - Method in interface org.enginehub.piston.Command
-
- getFullHelp() - Method in class org.enginehub.piston.util.HelpGenerator
-
- getFullName() - Method in class org.enginehub.piston.util.HelpGenerator
-
Generate a name for the set of commands as a whole.
- getInput() - Method in interface org.enginehub.piston.ArgBinding
-
Get the raw input that was bound.
- getInstance() - Static method in class org.enginehub.piston.config.ConfigRenderer
-
Get an instance of the renderer.
- getInstance() - Static method in class org.enginehub.piston.DefaultCommandManagerService
-
- getInstance() - Static method in class org.enginehub.piston.suggestion.DefaultSuggestionProvider
-
- getKey() - Method in class org.enginehub.piston.config.Config
-
- getMetadata() - Method in interface org.enginehub.piston.CommandParameters
-
Gets the metadata for the command being called.
- getMetadata() - Method in class org.enginehub.piston.NoInputCommandParameters
-
- getName() - Method in interface org.enginehub.piston.Command
-
- getName() - Method in interface org.enginehub.piston.part.CommandFlag
-
- getOriginalArguments() - Method in interface org.enginehub.piston.CommandParseResult
-
- getOtherFailures() - Method in class org.enginehub.piston.converter.FailedConversion
-
- getParameters() - Method in interface org.enginehub.piston.CommandParseResult
-
Get the parameters to execute the command with.
- getParts() - Method in interface org.enginehub.piston.ArgBinding
-
Get the part(s) the input was bound to.
- getParts() - Method in interface org.enginehub.piston.Command
-
- getPrimaryCommand() - Method in interface org.enginehub.piston.CommandParseResult
-
Get the command who's action should be executed.
- getReplacedArgument() - Method in class org.enginehub.piston.suggestion.Suggestion
-
The argument index to replace in the original input.
- getRequestedCommand() - Method in exception org.enginehub.piston.exception.NoSuchCommandException
-
- getRequestedFlag() - Method in exception org.enginehub.piston.exception.NoSuchFlagException
-
- getRichMessage() - Method in exception org.enginehub.piston.exception.CommandException
-
Get the rich message, with extra formatting.
- getSuggester() - Method in interface org.enginehub.piston.Command
-
- getSuggestion() - Method in class org.enginehub.piston.suggestion.Suggestion
-
The suggestion value, to be inserted instead of the argument
at index
replacedArgument
.
- getSuggestions(InjectedValueAccess, List<String>) - Method in interface org.enginehub.piston.CommandManager
-
Suggest inputs based on a current user input.
- getSuggestions(String, InjectedValueAccess) - Method in interface org.enginehub.piston.converter.ArgumentConverter
-
- getSuggestions(String, InjectedValueAccess) - Method in class org.enginehub.piston.converter.ForwardingArgumentConverter
-
- getSuggestions(String, InjectedValueAccess) - Method in class org.enginehub.piston.converter.MapArgumentConverter
-
- getSuggestions(String, InjectedValueAccess) - Method in class org.enginehub.piston.converter.MultiKeyConverter
-
- getSuggestions(String, InjectedValueAccess) - Method in interface org.enginehub.piston.converter.SuggestionProvider
-
Given input
as the current input, provide some suggestions for the user.
- getTextRepresentation() - Method in class org.enginehub.piston.part.ArgAcceptingCommandFlag
-
- getTextRepresentation() - Method in class org.enginehub.piston.part.CommandArgument
-
- getTextRepresentation() - Method in interface org.enginehub.piston.part.CommandPart
-
Returns the text representation of this part.
- getTextRepresentation() - Method in class org.enginehub.piston.part.NoArgCommandFlag
-
- getTextRepresentation() - Method in class org.enginehub.piston.part.SubCommandPart
-
- getTypes() - Method in interface org.enginehub.piston.part.ArgAcceptingCommandPart
-
All possible types for this argument.
- getTypeToken() - Method in class org.enginehub.piston.inject.Key
-
- getUsage() - Method in interface org.enginehub.piston.Command
-
- getUsage() - Method in class org.enginehub.piston.util.HelpGenerator
-
Generate a usage help text.
- getValue() - Method in class org.enginehub.piston.config.Config
-