com.inscoper.api.ValueCondition¶
ValueCondition class defines a condition based on a sub-device value. More...
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| ValueCondition(SubDeviceId subDeviceId, String condition, boolean negated) Constructor with sub-device ID and condition. |
|
| ValueCondition(SubDeviceId subDeviceId, String condition) Constructor with sub-device ID and condition. |
|
| ValueCondition() Default constructor. |
|
| SubDeviceId | getSubDeviceId() Get the sub-device ID. |
| void | setSubDeviceId(SubDeviceId subDeviceId) Set the sub-device ID. |
| String | getCondition() Get the condition. |
| void | setCondition(String condition) Set the condition. |
| boolean | isNegated() Check if the condition is negated. |
| void | setNegated(boolean negated) Set whether the condition is negated. |
Protected Functions¶
| Name | |
|---|---|
| ValueCondition(long cPtr, boolean cMemoryOwn) | |
| void | swigSetCMemOwn(boolean own) |
| void | finalize() |
| long | getCPtr(ValueCondition obj) |
Detailed Description¶
ValueCondition class defines a condition based on a sub-device value.
Represents a condition where a sub-device must meet a certain value criterion for a recipe element to be executed.
Public Functions Documentation¶
function delete¶
function ValueCondition¶
Constructor with sub-device ID and condition.
Parameters:
- subDeviceId : The associated sub-device ID of the value Condition
- condition : The value condition
Initializes a new instance of the ValueCondition class with a sub-device ID and a condition string.
function ValueCondition¶
Constructor with sub-device ID and condition.
Parameters:
- subDeviceId : The associated sub-device ID of the value Condition
- condition : The value condition
Initializes a new instance of the ValueCondition class with a sub-device ID and a condition string.
function ValueCondition¶
Default constructor.
Initializes a new instance of the ValueCondition class.
function getSubDeviceId¶
Get the sub-device ID.
Return: The sub-device ID
Retrieves the ID of the sub-device associated with this condition.
function setSubDeviceId¶
Set the sub-device ID.
Parameters:
- subDeviceId : The sub-device ID
Sets the ID of the sub-device associated with this condition.
function getCondition¶
Get the condition.
Return: The condition
Retrieves the condition associated with this value condition.
function setCondition¶
Set the condition.
Parameters:
- condition : The condition
Sets the condition associated with this value condition.
function isNegated¶
Check if the condition is negated.
Return: True if the condition is negated
When true, the element fires when the sub-device value does NOT match the condition, instead of when it does match.
function setNegated¶
Set whether the condition is negated.
Parameters:
- negated : True to negate the condition, false otherwise
Defines whether the condition logic is inverted. When negated, the element fires when the sub-device value does not match the condition.
Protected Functions Documentation¶
function ValueCondition¶
function swigSetCMemOwn¶
function finalize¶
function getCPtr¶
Updated on 2026-06-23 at 10:35:25 +0200