Module org.refcodes.cli
Package org.refcodes.cli
Interface LongOptionPrefixAccessor.LongOptionPrefixProperty
- All Superinterfaces:
LongOptionPrefixAccessor
,LongOptionPrefixAccessor.LongOptionPrefixMutator
- All Known Subinterfaces:
ParseArgs
- All Known Implementing Classes:
ArgsParser
- Enclosing interface:
LongOptionPrefixAccessor
public static interface LongOptionPrefixAccessor.LongOptionPrefixProperty
extends LongOptionPrefixAccessor, LongOptionPrefixAccessor.LongOptionPrefixMutator
Provides a long option prefix property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.LongOptionPrefixAccessor
LongOptionPrefixAccessor.LongOptionPrefixBuilder<B extends LongOptionPrefixAccessor.LongOptionPrefixBuilder<B>>, LongOptionPrefixAccessor.LongOptionPrefixMutator, LongOptionPrefixAccessor.LongOptionPrefixProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letLongOptionPrefix
(String aLongOptionPrefix) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofLongOptionPrefixAccessor.LongOptionPrefixMutator.setLongOptionPrefix(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.LongOptionPrefixAccessor
getLongOptionPrefix
Methods inherited from interface org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixMutator
setLongOptionPrefix
-
Method Details
-
letLongOptionPrefix
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofLongOptionPrefixAccessor.LongOptionPrefixMutator.setLongOptionPrefix(String)
and returns the very same value (getter).- Parameters:
aLongOptionPrefix
- TheString
to set (viaLongOptionPrefixAccessor.LongOptionPrefixMutator.setLongOptionPrefix(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-