Module org.refcodes.cli
Package org.refcodes.cli
Interface ExamplesAccessor.ExamplesBuilder<B extends ExamplesAccessor.ExamplesBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- All Known Subinterfaces:
ArgsProcessorBuilder<B>
,ParseArgs
- All Known Implementing Classes:
ArgsParser
- Enclosing interface:
- ExamplesAccessor
public static interface ExamplesAccessor.ExamplesBuilder<B extends ExamplesAccessor.ExamplesBuilder<B>>
Provides a builder method for an
Example
instances property
returning the builder for applying multiple build operations.-
Method Summary
Modifier and TypeMethodDescriptiondefault B
withExamples
(Collection<Example> aExamples) Builder method providing the application'sExample
elements.withExamples
(Example[] aExamples)
-
Method Details
-
withExamples
Builder method providing the application'sExample
elements.- Parameters:
aExamples
- The application'sExample
elements to use.- Returns:
- This builder as of the builder pattern.
-
withExamples
- Parameters:
aExamples
- TheExample
instances to be stored.- Returns:
- The builder for applying multiple build operations.
-