Developer_release_1.4.0
Struct app.spec_metadata
Used to provide End-Users and OEM Developers with additional information about the Application, the optional metadata table is to be available within the script specification.
Also it has some
Scheduler options related to the Application. The metadata table is made by
analogy with the LuaRocks rock specification metadata block.
Example:
return { title = 'Telegram Bot'; description = 'With this bot you can control your MPA1000 board ' .. 'via Telegram messenger'; homepage = 'https://acme.example.com'; license = 'MIT'; max_instances = 1; }
Properties
description | (string)(optional) The text displayed as the description in UIs. |
homepage | (string)(optional) Internet URL to the Application-maker's company site. |
license | (string)(optional) License name. |
max_instances | (number)(optional) Maximum number of Application instances allowed to run at the same time. |
timeout | (number)(optional) The time after which the Application is terminated by the Scheduler, in seconds. |
title | (string)(optional) The text displayed as the name of the Application in UIs. |
Properties
- description
- (string)(optional) The text displayed as the description in UIs.
- homepage
- (string)(optional) Internet URL to the Application-maker's company site.
- license
- (string)(optional) License name.
- max_instances
- (number)(optional) Maximum number of Application instances allowed to run at the same time. Unlimited by default.
- timeout
- (number)(optional) The time after which the Application is terminated by the Scheduler, in seconds. The Scheduler configuration is used to obtain the value by default.
- title
- (string)(optional) The text displayed as the name of the Application in UIs.