${foo}
system setting expansion syntax is box environment variable, Java system properties, and OS environment variables.config show
command)server info property=name
command)server.json
propertiesserver.json
file, you can reference any property in it with the serverjson.
namespace.:server-custom.json
then you can access it with the serverjson.
namespace.:box.json
propertiesbox.json
file, you can reference any property in it with the boxjson.
namespace.:json.
namespace..configsetting.
namespace. So getting the same value you get when you run the commandserverinfo.
namespace. So getting the same value you get when you run the commandserverinfo
namespace, run this command:serverinfo
property.@
namespace. So given the following JSON file:${@appFileGlobs}
self-references the appFileGlobs
property inside the same file, allowing for easy re-use of that value.onSystemSettingExpansion
interceptor that you check the incoming setting to see if it applies to you. If you process the system setting, you must place the final expanded value back in the interceptData.setting
struct key, set interceptData.resolved
to true
and return true
from the interception method so the chain stops processing.