- All Superinterfaces:
LongOptionAccessor
,LongOptionAccessor.LongOptionMutator
- Enclosing interface:
- LongOptionAccessor
public static interface LongOptionAccessor.LongOptionProperty
extends LongOptionAccessor, LongOptionAccessor.LongOptionMutator
Provides a long option property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.LongOptionAccessor
LongOptionAccessor.LongOptionBuilder<B extends LongOptionAccessor.LongOptionBuilder<B>>, LongOptionAccessor.LongOptionMutator, LongOptionAccessor.LongOptionProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letLongOption
(String aLongOption) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofLongOptionAccessor.LongOptionMutator.setLongOption(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.LongOptionAccessor
getLongOption
Methods inherited from interface org.refcodes.cli.LongOptionAccessor.LongOptionMutator
setLongOption
-
Method Details
-
letLongOption
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofLongOptionAccessor.LongOptionMutator.setLongOption(String)
and returns the very same value (getter).- Parameters:
aLongOption
- TheString
to set (viaLongOptionAccessor.LongOptionMutator.setLongOption(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-