CopyStateOperation

OperationBuilder. CopyStateOperation

Copies state from one item to another item

Extends

  • OperationConfig

Methods

and() → {CopyStateOperation}

Description:
  • Appends another operation to execute when the rule fires

Source:
Returns:

this

Type
CopyStateOperation

fromItem(itemName) → {CopyStateOperation}

Description:
  • Sets the item to copy the state from

Source:
Parameters:
Name Type Description
itemName string

the item to copy state from

Returns:

this

Type
CopyStateOperation

toItem(itemName) → {CopyStateOperation}

Description:
  • Sets the item to copy the state to

Source:
Parameters:
Name Type Description
itemName string

the item to copy state to

Returns:

this

Type
CopyStateOperation