Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
A Rule binds an action to a condition. More...
Public Attributes | |
string | id |
Rule ID. More... | |
string | name |
User-defined name. More... | |
boolean | isSystem |
true for system-defined rules More... | |
boolean | isEnabled |
true if the rule is enabled More... | |
boolean | isAutoRearm |
true for auto-rearming rules More... | |
boolean | hasMatched |
true if the rule has matched since being armed More... | |
Condition | condition |
Trigger condition. More... | |
vector< string > | actionIds |
List of action IDs. More... | |
vector< KeyValue > | arguments |
Argument map. More... | |
A Rule binds an action to a condition.
The 'id' is an unique identification within the scope of this event engine. The 'name' is unique as well and used by the GUI as user readable identificator. The flag 'isAutoRearm' determines whether actions are triggered again after condition reoccurres. The 'hasMatched' flag is true if the condition was true once and the rule is not rearmed yet. The 'isSystem' flag is readonly and if set marks the action as not deletable. The 'actionIds' are the actions to perform if the rule evaluates to true. The arguments are passed to the actions.
Definition at line 246 of file EventEngine.idl.
vector<string> event::Engine::Rule::actionIds |
List of action IDs.
Definition at line 254 of file EventEngine.idl.
vector<KeyValue> event::Engine::Rule::arguments |
Argument map.
Definition at line 255 of file EventEngine.idl.
Condition event::Engine::Rule::condition |
Trigger condition.
Definition at line 253 of file EventEngine.idl.
boolean event::Engine::Rule::hasMatched |
true
if the rule has matched since being armed
Definition at line 252 of file EventEngine.idl.
string event::Engine::Rule::id |
Rule ID.
Definition at line 247 of file EventEngine.idl.
boolean event::Engine::Rule::isAutoRearm |
true
for auto-rearming rules
Definition at line 251 of file EventEngine.idl.
boolean event::Engine::Rule::isEnabled |
true
if the rule is enabled
Definition at line 250 of file EventEngine.idl.
boolean event::Engine::Rule::isSystem |
true
for system-defined rules
Definition at line 249 of file EventEngine.idl.
string event::Engine::Rule::name |
User-defined name.
Definition at line 248 of file EventEngine.idl.