setPluginFilter

Set custom filter data for a plugin.

Return

The updated builder, useful for chaining

Parameters

name

the name of the plugin filter

filter

the filter data, can be a custom class as it will be serialised to json


fun setPluginFilter(name: String, filter: JsonElement): FilterBuilder

Set custom filter data for a plugin.

Return

The updated builder, useful for chaining

Parameters

name

the name of the plugin filter

filter

kotlin JsonElement that holds the filter data.