Module org.refcodes.cli
Package org.refcodes.cli
Interface ShortOptionPrefixAccessor.ShortOptionPrefixProperty
- All Superinterfaces:
ShortOptionPrefixAccessor
,ShortOptionPrefixAccessor.ShortOptionPrefixMutator
- All Known Subinterfaces:
ArgsParser
- All Known Implementing Classes:
ArgsParserImpl
- Enclosing interface:
- ShortOptionPrefixAccessor
public static interface ShortOptionPrefixAccessor.ShortOptionPrefixProperty
extends ShortOptionPrefixAccessor, ShortOptionPrefixAccessor.ShortOptionPrefixMutator
Provides a short option prefix property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.ShortOptionPrefixAccessor
ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<B extends ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<B>>, ShortOptionPrefixAccessor.ShortOptionPrefixMutator, ShortOptionPrefixAccessor.ShortOptionPrefixProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault Character
letShortOptionPrefix
(Character aShortOptionPrefix) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCharacter
(setter) as ofShortOptionPrefixAccessor.ShortOptionPrefixMutator.setShortOptionPrefix(Character)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.ShortOptionPrefixAccessor
getShortOptionPrefix
Methods inherited from interface org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixMutator
setShortOptionPrefix
-
Method Details
-
letShortOptionPrefix
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCharacter
(setter) as ofShortOptionPrefixAccessor.ShortOptionPrefixMutator.setShortOptionPrefix(Character)
and returns the very same value (getter).- Parameters:
aShortOptionPrefix
- TheCharacter
to set (viaShortOptionPrefixAccessor.ShortOptionPrefixMutator.setShortOptionPrefix(Character)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-