Uses of Interface
net.sourceforge.argparse4j.inf.Argument
Packages that use Argument
Package
Description
-
Uses of Argument in net.sourceforge.argparse4j.ext.java7
Methods in net.sourceforge.argparse4j.ext.java7 with parameters of type ArgumentModifier and TypeMethodDescriptionPathArgumentType.convert(ArgumentParser parser, Argument arg, String value) -
Uses of Argument in net.sourceforge.argparse4j.impl.action
Methods in net.sourceforge.argparse4j.impl.action with parameters of type ArgumentModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidAppendArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidAppendArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidAppendConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidAppendConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidCountArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidCountArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidHelpArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidStoreConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreConstArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidStoreFalseArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreFalseArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidStoreTrueArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) voidStoreTrueArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) voidVersionArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) -
Uses of Argument in net.sourceforge.argparse4j.impl.type
Methods in net.sourceforge.argparse4j.impl.type with parameters of type ArgumentModifier and TypeMethodDescriptionBooleanArgumentType.convert(ArgumentParser parser, Argument arg, String value) CaseInsensitiveEnumArgumentType.convert(ArgumentParser parser, Argument arg, String value) ConstructorArgumentType.convert(ArgumentParser parser, Argument arg, String value) Deprecated.EnumArgumentType.convert(ArgumentParser parser, Argument arg, String value) Deprecated.EnumStringArgumentType.convert(ArgumentParser parser, Argument arg, String value) FileArgumentType.convert(ArgumentParser parser, Argument arg, String value) ReflectArgumentType.convert(ArgumentParser parser, Argument arg, String value) StringArgumentType.convert(ArgumentParser parser, Argument arg, String value) private TReflectArgumentType.convertUsingConstructor(ArgumentParser parser, Argument arg, String value) private voidReflectArgumentType.throwArgumentParserException(ArgumentParser parser, Argument arg, String value, Throwable t) private voidFileVerification.throwException(ArgumentParser parser, Argument arg, File file, String messageKey) voidFileVerification.verify(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanCreate(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanExecute(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanRead(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanWrite(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanWriteParent(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyExists(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsAbsolute(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsDirectory(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsFile(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyNotExists(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyPermissions(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyPresenceAndType(ArgumentParser parser, Argument arg, File file) -
Uses of Argument in net.sourceforge.argparse4j.inf
Methods in net.sourceforge.argparse4j.inf that return ArgumentModifier and TypeMethodDescriptionArgument.action(ArgumentAction action) Sets the action to be taken when this argument is encountered at the command line.ArgumentContainer.addArgument(String... nameOrFlags) Creates newArgument, adds it to this container and returns it.<E> ArgumentArgument.choices(E... values) Sets a collection of the allowable values for the argument.<E> ArgumentArgument.choices(Collection<E> values) Sets a collection of the allowable values for the argument.Argument.choices(ArgumentChoice choice) SetsArgumentChoiceobject which inspects value so that it fulfills its criteria.The name of the attribute to be added.Sets the brief description of what the argument does.Argument.help(FeatureControl ctrl) Sets special value to control help message handling.Set the name for the argument in usage messages.Argument.nargs(int n) Sets the number of command line arguments that should be consumed.Sets the number of command line arguments that should be consumed.Argument.required(boolean required) Iftrueis given, this named argument must be specified in command line otherwise error will be issued.<E> ArgumentArgument.setConst(E... values) Sets list of constant values that are not read from the command line but are required for the various actions.Sets constant values that are not read from the command line but are required for the various actions.<E> ArgumentArgument.setDefault(E... values) Sets list of values which should be used if the command line argument is not present.Argument.setDefault(Object value) Sets value which should be used if the command line argument is not present.Argument.setDefault(FeatureControl ctrl) Sets special value to control default value handling.<T> ArgumentSets the type which the command line argument should be converted to.<T> ArgumentArgument.type(ArgumentType<T> type) SetsArgumentTypeobject which converts command line argument to appropriate type.Methods in net.sourceforge.argparse4j.inf with parameters of type ArgumentModifier and TypeMethodDescriptionArgumentType.convert(ArgumentParser parser, Argument arg, String value) Convertsvalueto appropriate type.private static StringArgumentParserException.formatMessage(String message, Argument arg, ArgumentParserConfiguration config) voidCalled when ArgumentAction is added toArgumentusingaction(ArgumentAction).voidArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) Deprecated.Does not provide the flexibility to let the parser and/or argument decide how the value is stored.default voidArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) Executes this action.Constructors in net.sourceforge.argparse4j.inf with parameters of type ArgumentModifierConstructorDescriptionArgumentParserException(String message, Throwable cause, ArgumentParser parser, Argument arg) ArgumentParserException(String message, ArgumentParser parser, Argument arg) -
Uses of Argument in net.sourceforge.argparse4j.internal
Classes in net.sourceforge.argparse4j.internal that implement ArgumentModifier and TypeClassDescriptionfinal classThe application code must not use this class directly.Methods in net.sourceforge.argparse4j.internal that return Argument