- 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.Param
Is the static method to set theargInHelp
field like a named parameter.static OptCfg.Param
Is the static method to set thedefaults
field like a named parameter.static OptCfg.Param
Is the static method to set thedefaults
field like a named parameter.static OptCfg.Param
Is the static method to set thedesc
field like a named parameter.static OptCfg.Param
hasArg
(boolean hasArg) Is the static method to set thehasArg
field like a named parameter.static OptCfg.Param
isArray
(boolean isArray) Is the static method to set theisArray
field like a named parameter.static OptCfg.Param
Is the static method to set thenames
field like a named parameter.static OptCfg.Param
Is the static method to set thenames
field like a named parameter.void
Sets a field value ofOptCfg.Init
object that has same fields withOptCfg
object and is used to initialized it.static OptCfg.Param
Is the static method to set thestoreKey
field like a named parameter.static OptCfg.Param
Is the static method to set thevalidator
field like a named parameter.
-
Method Details
-
setTo
Sets a field value ofOptCfg.Init
object that has same fields withOptCfg
object and is used to initialized it.- Parameters:
init
- An object to initializeOptCfg
object.
-
storeKey
Is the static method to set thestoreKey
field like a named parameter.- Parameters:
storeKey
- The value of thestoreKey
field.- Returns:
- The
OptCfg.Param
object to set thestoreKey
field of theOptCfg
instance.
-
names
Is the static method to set thenames
field like a named parameter.- Parameters:
names
- The string array of thenames
field.- Returns:
- The
names(java.lang.String...)
object to set thenames
field of theOptCfg
instance.
-
names
Is the static method to set thenames
field like a named parameter.- Parameters:
names
- The string list of thenames
field.- Returns:
- The
names(java.lang.String...)
object to set thenames
field of theOptCfg
instance.
-
hasArg
Is the static method to set thehasArg
field like a named parameter.- Parameters:
hasArg
- The value of thehasArg
field.- Returns:
- The
OptCfg.Param
object to set thehasArg
field of theOptCfg
instance.
-
isArray
Is the static method to set theisArray
field like a named parameter.- Parameters:
isArray
- The value of theisArray
field.- Returns:
- The
OptCfg.Param
object to set theisArray
field of theOptCfg
instance.
-
defaults
Is the static method to set thedefaults
field like a named parameter.- Parameters:
defaults
- The string array of thedefaults
field.- Returns:
- The
OptCfg.Param
object to set thedefaults
field of theOptCfg
instance.
-
defaults
Is the static method to set thedefaults
field like a named parameter.- Parameters:
defaults
- The string list of thedefaults
field.- Returns:
- The
OptCfg.Param
object to set thedefaults
field of theOptCfg
instance.
-
desc
Is the static method to set thedesc
field like a named parameter.- Parameters:
desc
- The value of thedesc
field.- Returns:
- The
OptCfg.Param
object to set thedesc
field of theOptCfg
instance.
-
argInHelp
Is the static method to set theargInHelp
field like a named parameter.- Parameters:
argInHelp
- The value of theargInHelp
field.- Returns:
- The
OptCfg.Param
object to set theargInHelp
field of theOptCfg
instance.
-
validator
Is the static method to set thevalidator
field like a named parameter.- Parameters:
validator
- AValidator
object.- Returns:
- The
OptCfg.Param
object to set thevalidator
field of theOptCfg
instance.
-