ListenerUtil

Utility class containing utility methods for all listeners.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun contentContainsWord(rule: JSONObject, contentList: List<String>, words: List<String>): Boolean

Checks whether content contains words.

Link copied to clipboard
fun getContent(selector: String?, context: List<String>, blueConicClient: BlueConicClient): List<String>

Returns the content of a selector.

Link copied to clipboard

Returns the merge strategy for the supplied rule.

Link copied to clipboard

Returns the profile property ID for the supplied rule.

Link copied to clipboard

Returns the selector based on a selector value in the form { name : 'name', selector : 'sel' }.

Link copied to clipboard

Converts a JSON array to a string list.