-
Method Summary
void
Adds a key value pair of strings to the configuration
void
Loads the properties from the local configs folder.
void
Removes a key from the configuration
-
Method Details
-
load
void load()
Loads the properties from the local configs folder.
-
addProperty
Adds a key value pair of strings to the configuration
- Parameters:
name
- The name of the property
value
- The value of the property
Example:
ScriptConfiguration config = ...;
config.addProperty("my_property", "the_value");
-
removeProperty
void removeProperty(String name)
Removes a key from the configuration
- Parameters:
name
- The name of the property
Example:
ScriptConfiguration config = ...;
config.removeProperty("my_property");