Uses of Class
org.refcodes.cli.Example
-
Uses of Example in org.refcodes.cli
Methods in org.refcodes.cli that return ExampleModifier and TypeMethodDescriptionstatic Example
static Example[]
Sugar for creating anExample
array from a varargs argument.Example[]
ArgsParser.getExamples()
Example[]
ExamplesAccessor.getExamples()
Example[]
ParseArgs.getExamples()
default Example[]
ExamplesAccessor.ExamplesProperty.letExamples
(Example[] aExamples) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCondition
(setter) as ofExamplesAccessor.ExamplesMutator.setExamples(Example[])
and returns the very same value (getter).Methods in org.refcodes.cli with parameters of type ExampleModifier and TypeMethodDescriptionvoid
ArgsParser.addExample
(Example aExampleUsage) Adds a usage example by providing a description of the example and the command line arguments required by the example.void
ParseArgs.addExample
(Example aExample) Adds a usage example by providing a description of the example and the command line arguments required by the example.static Example[]
Sugar for creating anExample
array from a varargs argument.default Example[]
ExamplesAccessor.ExamplesProperty.letExamples
(Example[] aExamples) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCondition
(setter) as ofExamplesAccessor.ExamplesMutator.setExamples(Example[])
and returns the very same value (getter).void
ArgsParser.setExamples
(Example[] aExamples) void
ExamplesAccessor.ExamplesMutator.setExamples
(Example[] aExamples) ArgsParser.withAddExample
(Example aExamples) Builder method adding an application'sExample
element.ArgsProcessorBuilder.withAddExample
(Example aExamples) Builder method adding an application'sExample
element.default ParseArgs
ParseArgs.withAddExample
(Example aExample) Builder method adding an application'sExample
element.ArgsParser.withExamples
(Example[] aExamples) ExamplesAccessor.ExamplesBuilder.withExamples
(Example[] aExamples) default ParseArgs
ParseArgs.withExamples
(Example[] aExamples) Method parameters in org.refcodes.cli with type arguments of type ExampleModifier and TypeMethodDescriptiondefault void
ExamplesAccessor.ExamplesMutator.setExamples
(Collection<Example> aExamples) ArgsParser.withExamples
(Collection<Example> aExamples) Builder method providing the application'sExample
elements.default B
ExamplesAccessor.ExamplesBuilder.withExamples
(Collection<Example> aExamples) Builder method providing the application'sExample
elements.default ParseArgs
ParseArgs.withExamples
(Collection<Example> aExamples) Builder method providing the application'sExample
elements.