Builder

open class Builder

Builder class to build FeatureState.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun addBooleanState(stateName: String, value: Boolean): FeatureState.Builder

Add a boolean state for property stateName.

Link copied to clipboard
fun addDoubleState(stateName: String, value: Double): FeatureState.Builder

Add a double state for property stateName.

Link copied to clipboard
fun addLongState(stateName: String, value: Long): FeatureState.Builder

Add a long state for property stateName.

Link copied to clipboard
fun addStringState(stateName: String, value: String): FeatureState.Builder

Add a string state for property stateName.

Link copied to clipboard
open fun build(): FeatureState

Build an instance of FeatureState.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard