Class ListArgument
java.lang.Object
org.spongepowered.api.command.args.CommandElement
net.ME1312.SubServers.Client.Sponge.Library.Compatibility.ListArgument
Comma Separated List Argument Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomplete
(CommandSource src, CommandArgs args, CommandContext context) protected Object
parseValue
(CommandSource source, CommandArgs args) Methods inherited from class org.spongepowered.api.command.args.CommandElement
getKey, getUntranslatedKey, getUsage, parse
-
Constructor Details
-
ListArgument
Parse a Comma Separated List Argument- Parameters:
key
- Key
-
-
Method Details
-
parseValue
@Nullable protected Object parseValue(CommandSource source, CommandArgs args) throws ArgumentParseException - Specified by:
parseValue
in classCommandElement
- Throws:
ArgumentParseException
-
complete
- Specified by:
complete
in classCommandElement
-