Module org.refcodes.cli
Package org.refcodes.cli
Interface LongPropertyPrefixAccessor.LongPropertyPrefixProperty
- All Superinterfaces:
LongPropertyPrefixAccessor
,LongPropertyPrefixAccessor.LongPropertyPrefixMutator
- Enclosing interface:
- LongPropertyPrefixAccessor
public static interface LongPropertyPrefixAccessor.LongPropertyPrefixProperty
extends LongPropertyPrefixAccessor, LongPropertyPrefixAccessor.LongPropertyPrefixMutator
Provides a long option prefix property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.LongPropertyPrefixAccessor
LongPropertyPrefixAccessor.LongPropertyPrefixBuilder<B extends LongPropertyPrefixAccessor.LongPropertyPrefixBuilder<B>>, LongPropertyPrefixAccessor.LongPropertyPrefixMutator, LongPropertyPrefixAccessor.LongPropertyPrefixProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letLongPropertyPrefix
(String aLongPropertyPrefix) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofLongPropertyPrefixAccessor.LongPropertyPrefixMutator.setLongPropertyPrefix(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.LongPropertyPrefixAccessor
getLongPropertyPrefix
Methods inherited from interface org.refcodes.cli.LongPropertyPrefixAccessor.LongPropertyPrefixMutator
setLongPropertyPrefix
-
Method Details
-
letLongPropertyPrefix
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofLongPropertyPrefixAccessor.LongPropertyPrefixMutator.setLongPropertyPrefix(String)
and returns the very same value (getter).- Parameters:
aLongPropertyPrefix
- TheString
to set (viaLongPropertyPrefixAccessor.LongPropertyPrefixMutator.setLongPropertyPrefix(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-