Constructor
new module:ct-watchlist /testing /Watchlist Stub Events()
Events
ADD _REQUESTED
Triggered by the stub to indicate that a subject add request has been received.
Parameters:
Name | Type | Description |
---|---|---|
request |
module:ct-services |
The stubbed request. Its target is a map containing a list of subjects to be added and an index for the first subject to be added to. |
PROPERTY _CHANGE _REQUESTED
Triggered by the stub to indicate that a property change request has been received.
Parameters:
Name | Type | Description |
---|---|---|
request |
module:ct-services |
The stubbed request. Its target is a map containing the name of the property to change, and the value that the property should be changed to. |
REMOVE _REQUESTED
Triggered by the stub to indicate that a subject removal request has been received.
Parameters:
Name | Type | Description |
---|---|---|
request |
module:ct-services |
The stubbed request. Its target is a map containing the list of subjects to be removed. |