Javascript MatchingItem: Difference between revisions
Jump to navigation
Jump to search
Created page with "== General == Object implementing complex matching.<br/> May be set as filter in Message handler and post hook install (match one or more message param..." |
No edit summary |
||
| Line 6: | Line 6: | ||
== Constructor == | == Constructor == | ||
* '''new Engine.MatchingItem(value[,name[,params])''' | |||
Build a new MatchingItem object.<br/> | |||
Parameters:<br/> | |||
'''value''': <br/> | |||
'''name''': <br/> | |||
'''params''': <br/> | |||
== Static methods == | == Static methods == | ||
* '''validate(value[,name[,params]])''' | |||
Parameters:<br/> | |||
'''value''': <br/> | |||
'''name''': <br/> | |||
'''params''': <br/> | |||
Return:<br/> | |||
Success: Object with matching properties<br/> | |||
Success with empty optimized matching: null/undefined<br/> | |||
Error: string describing the error<br/> | |||
== Methods == | == Methods == | ||
* '''matches(value)''' | |||
* '''getDesc([params])''' | |||
* '''dump([params[,indent,origIndent]])''' | |||
Revision as of 14:03, 3 September 2024
General
Object implementing complex matching.
May be set as filter in Message handler and post hook install (match one or more message parameter(s)).
May be used for matching individual values
Constructor
- new Engine.MatchingItem(value[,name[,params])
Build a new MatchingItem object.
Parameters:
value:
name:
params:
Static methods
- validate(value[,name[,params]])
Parameters:
value:
name:
params:
Return:
Success: Object with matching properties
Success with empty optimized matching: null/undefined
Error: string describing the error
Methods
- matches(value)
- getDesc([params])
- dump([params[,indent,origIndent]])