- All Superinterfaces:
ArgsParserAccessor
,ArgsParserAccessor.ArgsParserMutator
- Enclosing interface:
- ArgsParserAccessor
public static interface ArgsParserAccessor.ArgsParserProperty
extends ArgsParserAccessor, ArgsParserAccessor.ArgsParserMutator
Provides a
ParseArgs
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.ArgsParserAccessor
ArgsParserAccessor.ArgsParserBuilder<B extends ArgsParserAccessor.ArgsParserBuilder<B>>, ArgsParserAccessor.ArgsParserMutator, ArgsParserAccessor.ArgsParserProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault ParseArgs
letArgsParser
(ParseArgs aParseArgs) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenParseArgs
(setter) as ofArgsParserAccessor.ArgsParserMutator.setArgsParser(ParseArgs)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.ArgsParserAccessor
getArgsParser
Methods inherited from interface org.refcodes.cli.ArgsParserAccessor.ArgsParserMutator
setArgsParser
-
Method Details
-
letArgsParser
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenParseArgs
(setter) as ofArgsParserAccessor.ArgsParserMutator.setArgsParser(ParseArgs)
and returns the very same value (getter).- Parameters:
aParseArgs
- TheParseArgs
to set (viaArgsParserAccessor.ArgsParserMutator.setArgsParser(ParseArgs)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-