Uses of Interface
net.sourceforge.argparse4j.inf.Argument
-
Packages that use Argument Package Description net.sourceforge.argparse4j.impl.action net.sourceforge.argparse4j.impl.type net.sourceforge.argparse4j.inf net.sourceforge.argparse4j.internal -
-
Uses of Argument in net.sourceforge.argparse4j.impl.action
Methods in net.sourceforge.argparse4j.impl.action with parameters of type Argument Modifier and Type Method Description voidAppendArgumentAction. onAttach(Argument arg)voidAppendConstArgumentAction. onAttach(Argument arg)voidCountArgumentAction. onAttach(Argument arg)voidHelpArgumentAction. onAttach(Argument arg)voidStoreArgumentAction. onAttach(Argument arg)voidStoreConstArgumentAction. onAttach(Argument arg)voidStoreFalseArgumentAction. onAttach(Argument arg)voidStoreTrueArgumentAction. onAttach(Argument arg)voidVersionArgumentAction. onAttach(Argument arg)voidAppendArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidAppendConstArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidCountArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidHelpArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidStoreArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidStoreConstArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidStoreFalseArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidStoreTrueArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)voidVersionArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value) -
Uses of Argument in net.sourceforge.argparse4j.impl.type
Methods in net.sourceforge.argparse4j.impl.type with parameters of type Argument Modifier and Type Method Description TConstructorArgumentType. convert(ArgumentParser parser, Argument arg, java.lang.String value)Deprecated.TEnumArgumentType. convert(ArgumentParser parser, Argument arg, java.lang.String value)Deprecated.java.io.FileFileArgumentType. convert(ArgumentParser parser, Argument arg, java.lang.String value)TReflectArgumentType. convert(ArgumentParser parser, Argument arg, java.lang.String value)java.lang.StringStringArgumentType. convert(ArgumentParser parser, Argument arg, java.lang.String value) -
Uses of Argument in net.sourceforge.argparse4j.inf
Methods in net.sourceforge.argparse4j.inf that return Argument Modifier and Type Method Description ArgumentArgument. action(ArgumentAction action)Sets the action to be taken when this argument is encountered at the command line.ArgumentArgumentGroup. addArgument(java.lang.String... nameOrFlags)Creates newArgumentand adds it to the underlining parser and returns it.ArgumentArgumentParser. addArgument(java.lang.String... nameOrFlags)Creates newArgumentobject and adds to this parser and returns the object.ArgumentMutuallyExclusiveGroup. addArgument(java.lang.String... nameOrFlags)Creates newArgumentand adds it to the underlining parser and returns it.<E> ArgumentArgument. choices(E... values)Sets a collection of the allowable values for the argument.<E> ArgumentArgument. choices(java.util.Collection<E> values)Sets a collection of the allowable values for the argument.ArgumentArgument. choices(ArgumentChoice choice)SetsArgumentChoiceobject which inspects value so that it fulfills its criteria.ArgumentArgument. dest(java.lang.String dest)The name of the attribute to be added.ArgumentArgument. help(java.lang.String help)Sets the brief description of what the argument does.ArgumentArgument. help(FeatureControl ctrl)Sets special value to control help message handling.ArgumentArgument. metavar(java.lang.String... metavar)Set the name for the argument in usage messages.ArgumentArgument. nargs(int n)Sets the number of command line arguments that should be consumed.ArgumentArgument. nargs(java.lang.String n)Sets the number of command line arguments that should be consumed.ArgumentArgument. required(boolean required)Iftrueis given, this optional 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.ArgumentArgument. setConst(java.lang.Object value)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.ArgumentArgument. setDefault(java.lang.Object value)Sets value which should be used if the command line argument is not present.ArgumentArgument. setDefault(FeatureControl ctrl)Sets special value to control default value handling.<T> ArgumentArgument. type(java.lang.Class<T> type)Sets 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 Argument Modifier and Type Method Description TArgumentType. convert(ArgumentParser parser, Argument arg, java.lang.String value)Convertsvalueto appropriate type.voidArgumentAction. onAttach(Argument arg)Called when ArgumentAction is added toArgumentusingaction(ArgumentAction).voidArgumentAction. run(ArgumentParser parser, Argument arg, java.util.Map<java.lang.String,java.lang.Object> attrs, java.lang.String flag, java.lang.Object value)Executes this action.Constructors in net.sourceforge.argparse4j.inf with parameters of type Argument Constructor Description ArgumentParserException(java.lang.String message, java.lang.Throwable cause, ArgumentParser parser, Argument arg)ArgumentParserException(java.lang.String message, ArgumentParser parser, Argument arg) -
Uses of Argument in net.sourceforge.argparse4j.internal
Classes in net.sourceforge.argparse4j.internal that implement Argument Modifier and Type Class Description classArgumentImplThe application code must not use this class directly.Methods in net.sourceforge.argparse4j.internal that return Argument Modifier and Type Method Description ArgumentSubparserImpl. addArgument(java.lang.String... nameOrFlags)
-