- All Superinterfaces:
ShortOptionAccessor
,ShortOptionAccessor.ShortOptionMutator
- Enclosing interface:
- ShortOptionAccessor
public static interface ShortOptionAccessor.ShortOptionProperty
extends ShortOptionAccessor, ShortOptionAccessor.ShortOptionMutator
Provides a short option property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.ShortOptionAccessor
ShortOptionAccessor.ShortOptionBuilder<B extends ShortOptionAccessor.ShortOptionBuilder<B>>, ShortOptionAccessor.ShortOptionMutator, ShortOptionAccessor.ShortOptionProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letShortOption
(String aShortOption) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofShortOptionAccessor.ShortOptionMutator.setShortOption(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.ShortOptionAccessor
getShortOption
Methods inherited from interface org.refcodes.cli.ShortOptionAccessor.ShortOptionMutator
setShortOption
-
Method Details
-
letShortOption
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofShortOptionAccessor.ShortOptionMutator.setShortOption(String)
and returns the very same value (getter).- Parameters:
aShortOption
- TheString
to set (viaShortOptionAccessor.ShortOptionMutator.setShortOption(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-