Extends
Methods
fromItem(itemName) → {OperationBuilder.CopyStateOperation}
- Source:
Sets the item to copy the state from
Parameters:
Name | Type | Description |
---|---|---|
itemName |
string | the item to copy state from |
Returns:
this
toItem(itemName) → {OperationBuilder.CopyStateOperation}
- Source:
Sets the item to copy the state to
Parameters:
Name | Type | Description |
---|---|---|
itemName |
string | the item to copy state to |
Returns:
this
and() → {OperationBuilder.CopyStateOperation}
- Source:
Appends another operation to execute when the rule fires
Returns:
this
inGroup(group) → {OperationBuilder}
- Source:
- Overrides:
Specify the rule group for this rule
Parameters:
Name | Type | Description |
---|---|---|
group |
string | the group this rule belongs to. |
Returns:
this
- Type
- OperationBuilder
build(nameopt, descriptionopt, tagsopt, idopt)
- Source:
- Overrides:
Build this rule
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string |
<optional> |
of the rule |
description |
string |
<optional> |
of the rule |
tags |
Array.<String> |
<optional> |
of the rule |
id |
string |
<optional> |
of the rule |