setValue

open override fun setValue(format: String, vararg args: Any): Telemetry.Item?

Updates the value of this item to be the result of the indicated string formatting operation.

Return

the receiver

Parameters

format

the format of the data, note this will call a BunyipsLib function to format the string

args

the arguments associated with the format

See also


open override fun setValue(value: Any?): Telemetry.Item?

Updates the value of this item to be the result of applying Object.toString to the indicated object.

Return

the receiver

Parameters

value

the object to which Object.toString should be applied

See also


open override fun <T : Any> setValue(valueProducer: Func<T>): Telemetry.Item?

Updates the value of this item to be the indicated value producer. This will override any HTML formatting applied to the item as it is also a value producer.

Return

the receiver

Parameters

valueProducer

an object that produces values to be rendered.

See also


open override fun <T : Any> setValue(format: String, valueProducer: Func<T>): Telemetry.Item?

Updates the value of this item to be the indicated value producer. This will override any HTML formatting applied to the item as it is also a value producer.

Return

the receiver

Parameters

format

this string used to format values produced

valueProducer

an object that produces values to be rendered.

See also