-
- All Superinterfaces:
ArgsAccessor
,ArgsAccessor.ArgsMutator
- Enclosing interface:
- ArgsAccessor
public static interface ArgsAccessor.ArgsProperty extends ArgsAccessor, ArgsAccessor.ArgsMutator
Provides a args property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.cli.ArgsAccessor
ArgsAccessor.ArgsMutator, ArgsAccessor.ArgsProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String[]
letArgs(String[] aArgs)
This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenString
array (setter) as ofArgsAccessor.ArgsMutator.setArgs(String[])
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.cli.ArgsAccessor
getArgs
-
Methods inherited from interface org.refcodes.cli.ArgsAccessor.ArgsMutator
setArgs
-
-
-
-
Method Detail
-
letArgs
default String[] letArgs(String[] aArgs)
This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the givenString
array (setter) as ofArgsAccessor.ArgsMutator.setArgs(String[])
and returns the very same value (getter).- Parameters:
aArgs
- The arguments to set (viaArgsAccessor.ArgsMutator.setArgs(String[])
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-