System.setArgument

Function/Meaning
Setting command line options
Type
Method of the System class
Syntax
setArgument(name, value)
Arguments
name Specifies the name of the command line option to set. Please prefix it with a '-' (hyphen) (e.g., '-contfreq').
value Specifies the value to set. (e.g., '60').
Return Value
None (void)
Description
Sets command line options dynamically. Not all command line options can be set.
Refer to Command Line Options for options that can be set. Do not change options that are not explicitly marked as dynamically changeable.
This method does not check whether the option is dynamically changeable, whether the option exists, or the validity of the value. Please be careful when setting values.
Reference
System.getArgument