Pattern.Manager.setCompletionListener()
Signature
void setCompletionListener(Object patternInstance, String ruleFunctionURI)
Description
Sets the given rule function URI as the listenet that will be invoked by the Pattern Service when/if this pattern instance observes the specified event sequence.
The value is set only for the given pattern instance.
Parameters
Name | Type | Description |
patternInstance | Object | The return value (opaque) from the pattern $1instantiate(String)$1 method. |
ruleFunctionURI | String | has obeserved so far. |