Module org.refcodes.cli
Package org.refcodes.cli
Interface ArgumentPrefixAccessor.ArgumentPrefixProperty
- All Superinterfaces:
ArgumentPrefixAccessor
,ArgumentPrefixAccessor.ArgumentPrefixMutator
- Enclosing interface:
- ArgumentPrefixAccessor
public static interface ArgumentPrefixAccessor.ArgumentPrefixProperty
extends ArgumentPrefixAccessor, ArgumentPrefixAccessor.ArgumentPrefixMutator
Provides an argument prefix property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.ArgumentPrefixAccessor
ArgumentPrefixAccessor.ArgumentPrefixBuilder<B extends ArgumentPrefixAccessor.ArgumentPrefixBuilder<B>>, ArgumentPrefixAccessor.ArgumentPrefixMutator, ArgumentPrefixAccessor.ArgumentPrefixProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letArgumentPrefix
(String aArgumentPrefix) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofArgumentPrefixAccessor.ArgumentPrefixMutator.setArgumentPrefix(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.ArgumentPrefixAccessor
getArgumentPrefix
Methods inherited from interface org.refcodes.cli.ArgumentPrefixAccessor.ArgumentPrefixMutator
setArgumentPrefix
-
Method Details
-
letArgumentPrefix
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofArgumentPrefixAccessor.ArgumentPrefixMutator.setArgumentPrefix(String)
and returns the very same value (getter).- Parameters:
aArgumentPrefix
- TheString
to set (viaArgumentPrefixAccessor.ArgumentPrefixMutator.setArgumentPrefix(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-