PropertyClass - setDefaultValue
PropertyClass - setDefaultValue
Description :
This command sets the default value of a property in a class. If the property is not available in that class, this command fails.
Return type : java.lang.Void
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
fullyQualifiedClassName | String | Name of the class. |
property | String | Name of the property. |
defaultValueAsString | String | Default value to set. |
Example
The following example attempts to set the default value of JVM_HEAP_SIZE in the Apache class to 2048.
Script
PropertyClass setDefaultValue Class://SystemObject/Application/Apache JVM_HEAP_SIZE 2048
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*