Module org.refcodes.cli
Package org.refcodes.cli
Interface ArgumentSuffixAccessor.ArgumentSuffixProperty
- All Superinterfaces:
ArgumentSuffixAccessor
,ArgumentSuffixAccessor.ArgumentSuffixMutator
- Enclosing interface:
- ArgumentSuffixAccessor
public static interface ArgumentSuffixAccessor.ArgumentSuffixProperty
extends ArgumentSuffixAccessor, ArgumentSuffixAccessor.ArgumentSuffixMutator
Provides an argument suffix property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.ArgumentSuffixAccessor
ArgumentSuffixAccessor.ArgumentSuffixBuilder<B extends ArgumentSuffixAccessor.ArgumentSuffixBuilder<B>>, ArgumentSuffixAccessor.ArgumentSuffixMutator, ArgumentSuffixAccessor.ArgumentSuffixProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letArgumentSuffix
(String aArgumentSuffix) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofArgumentSuffixAccessor.ArgumentSuffixMutator.setArgumentSuffix(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.ArgumentSuffixAccessor
getArgumentSuffix
Methods inherited from interface org.refcodes.cli.ArgumentSuffixAccessor.ArgumentSuffixMutator
setArgumentSuffix
-
Method Details
-
letArgumentSuffix
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofArgumentSuffixAccessor.ArgumentSuffixMutator.setArgumentSuffix(String)
and returns the very same value (getter).- Parameters:
aArgumentSuffix
- TheString
to set (viaArgumentSuffixAccessor.ArgumentSuffixMutator.setArgumentSuffix(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-