Pattern.Manager.setFailureListener()

Signature

void setFailureListener(Object patternInstance, String ruleFunctionURI)

Domain

ACTION

Description

Sets the given rule function URI as the listener that will be invoked by the Pattern Service when/if this pattern instance fails due to a wrong event sequence. The value is set only for the given patten instance.

Parameters

NameTypeDescription
patternInstanceObjectThe return value (opaque) from the pattern $1instantiate(String)$1 method.
ruleFunctionURIStringhas obeserved so far.

Returns

TypeDescription
void

Cautions

none