-
public final class TriggerValueThe
TriggerValueclass represents a value used in trigger conditions for in-app messages. It can encapsulate different types of values, including strings, numbers, and lists.
-
-
Constructor Summary
Constructors Constructor Description TriggerValue(Object value, List<Object> listValue)
-
Method Summary
Modifier and Type Method Description final ObjectgetValue()final NumbernumberValue()Retrieve the encapsulated number value. final StringstringValue()Retrieve the encapsulated string value. final StringstringValueCleaned()final List<?>listValue()Retrieve the encapsulated list value. final List<?>listValueWithCleanedStringIfPresent()final BooleanisList()Check if the encapsulated value is a list. -
-
Method Detail
-
numberValue
final Number numberValue()
Retrieve the encapsulated number value.
-
stringValue
final String stringValue()
Retrieve the encapsulated string value.
-
stringValueCleaned
final String stringValueCleaned()
-
listValueWithCleanedStringIfPresent
final List<?> listValueWithCleanedStringIfPresent()
-
-
-
-