- All Superinterfaces:
ExamplesAccessor
,ExamplesAccessor.ExamplesMutator
- All Known Subinterfaces:
ParseArgs
- All Known Implementing Classes:
ArgsParser
- Enclosing interface:
- ExamplesAccessor
public static interface ExamplesAccessor.ExamplesProperty
extends ExamplesAccessor, ExamplesAccessor.ExamplesMutator
Provides an
Example
instances property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.ExamplesAccessor
ExamplesAccessor.ExamplesBuilder<B extends ExamplesAccessor.ExamplesBuilder<B>>, ExamplesAccessor.ExamplesMutator, ExamplesAccessor.ExamplesProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault Example[]
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 inherited from interface org.refcodes.cli.ExamplesAccessor
getExamples
Methods inherited from interface org.refcodes.cli.ExamplesAccessor.ExamplesMutator
setExamples, setExamples
-
Method Details
-
letExamples
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).- Parameters:
aExamples
- TheCondition
to set (viaExamplesAccessor.ExamplesMutator.setExamples(Example[])
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-