- Enclosing class:
OptCfg
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Is the functional interface for the constructor parameters like named parameters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic OptCfg.ParamIs the static method to set theargInHelpfield like a named parameter.static OptCfg.ParamIs the static method to set thedefaultsfield like a named parameter.static OptCfg.ParamIs the static method to set thedefaultsfield like a named parameter.static OptCfg.ParamIs the static method to set thedescfield like a named parameter.static OptCfg.ParamhasArg(boolean hasArg) Is the static method to set thehasArgfield like a named parameter.static OptCfg.ParamisArray(boolean isArray) Is the static method to set theisArrayfield like a named parameter.static OptCfg.ParamIs the static method to set thenamesfield like a named parameter.static OptCfg.ParamIs the static method to set thenamesfield like a named parameter.voidSets a field value ofOptCfg.Initobject that has same fields withOptCfgobject and is used to initialized it.static OptCfg.ParamIs the static method to set thestoreKeyfield like a named parameter.static OptCfg.ParamIs the static method to set thevalidatorfield like a named parameter.
-
Method Details
-
setTo
Sets a field value ofOptCfg.Initobject that has same fields withOptCfgobject and is used to initialized it.- Parameters:
init- An object to initializeOptCfgobject.
-
storeKey
Is the static method to set thestoreKeyfield like a named parameter.- Parameters:
storeKey- The value of thestoreKeyfield.- Returns:
- The
OptCfg.Paramobject to set thestoreKeyfield of theOptCfginstance.
-
names
Is the static method to set thenamesfield like a named parameter.- Parameters:
names- The string array of thenamesfield.- Returns:
- The
names(java.lang.String...)object to set thenamesfield of theOptCfginstance.
-
names
Is the static method to set thenamesfield like a named parameter.- Parameters:
names- The string list of thenamesfield.- Returns:
- The
names(java.lang.String...)object to set thenamesfield of theOptCfginstance.
-
hasArg
Is the static method to set thehasArgfield like a named parameter.- Parameters:
hasArg- The value of thehasArgfield.- Returns:
- The
OptCfg.Paramobject to set thehasArgfield of theOptCfginstance.
-
isArray
Is the static method to set theisArrayfield like a named parameter.- Parameters:
isArray- The value of theisArrayfield.- Returns:
- The
OptCfg.Paramobject to set theisArrayfield of theOptCfginstance.
-
defaults
Is the static method to set thedefaultsfield like a named parameter.- Parameters:
defaults- The string array of thedefaultsfield.- Returns:
- The
OptCfg.Paramobject to set thedefaultsfield of theOptCfginstance.
-
defaults
Is the static method to set thedefaultsfield like a named parameter.- Parameters:
defaults- The string list of thedefaultsfield.- Returns:
- The
OptCfg.Paramobject to set thedefaultsfield of theOptCfginstance.
-
desc
Is the static method to set thedescfield like a named parameter.- Parameters:
desc- The value of thedescfield.- Returns:
- The
OptCfg.Paramobject to set thedescfield of theOptCfginstance.
-
argInHelp
Is the static method to set theargInHelpfield like a named parameter.- Parameters:
argInHelp- The value of theargInHelpfield.- Returns:
- The
OptCfg.Paramobject to set theargInHelpfield of theOptCfginstance.
-
validator
Is the static method to set thevalidatorfield like a named parameter.- Parameters:
validator- AValidatorobject.- Returns:
- The
OptCfg.Paramobject to set thevalidatorfield of theOptCfginstance.
-