Get the value of the specified project setting.
Note: This is good for retrieving a project setting once. If you want to keep the value
up-to-date, use subscribeSetting
instead, which can immediately give you the value and keep
it up-to-date.
Note for implementing: getSetting
must call papi.projectSettings.getDefault
if this
project does not have a value for this setting
The string id of the project setting to get
The value of the specified project setting. Returns default setting value if the project setting does not exist on the project.
Deletes the specified project setting, setting it back to its default value.
Note for implementing: resetSetting
should remove the value for this setting for this
project such that calling getSetting
later would cause it to call
papi.projectSettings.getDefault
and return the default value.
The string id of the project setting to reset
true
if successfully reset the project setting, false
otherwise
Set the value of the specified project setting on this project.
Note for implementing: setSetting
must call papi.projectSettings.isValid
before allowing
the setting change.
The string id of the project setting to change
The value that is to be set to the project setting.
Information that papi uses to interpret whether to send out updates. Defaults to
true
(meaning send updates only for this data type).
DataProviderUpdateInstructions for more info on what to return
The
Setting
methods required for a Project Data Provider Engine to fulfill the requirements of MandatoryProjectDataTypes'sSetting
data type.