Package net.kautler.command.api.parameter
-
Interface Summary Interface Description ParameterConverter<M,R> A converter that converts aStringparameter determined from the given message type to the given result type.ParameterParser A parser that can semantically parse and validate a command parameter string according to a defined usage string syntax and return the parsed parameters, optionally converted to given types.Parameters<V> A map-like container of parameter names and their associated values with optional implicit downcasts for the values within all methods that handle the values. -
Class Summary Class Description ParameterType.Literal An annotation literal for programmatic CDI lookup. -
Exception Summary Exception Description InvalidParameterFormatException An invalid parameter format exception that is thrown byParameterConverters if the format of the parameter is invalid, for example some text for a number-parsing converter.InvalidParameterValueException An invalid parameter value exception that is thrown byParameterConverters if the value of the parameter is invalid though the format was correct, for example the id of an unknown user.ParameterParseException A parameter parse exception that is thrown if an exception happens during calling aParameterConverter. -
Annotation Types Summary Annotation Type Description ParameterParser.Typed A CDI qualifier that is used for selecting the typed parameter parser instead of the non-typed one which is injected by default.ParameterType A CDI qualifier forParameterConverters that defines the parameter type aliases for which the annotated parameter converter works.ParameterTypes An annotation which serves as container for applying multiple@ParameterTypeannotations.