Skip to content

CustomVariableBuilder🔗

Constructor🔗

new CustomVariableBuilder(String name)

Methods🔗

build🔗

Builds the object.

public CustomVariable build()

allValue🔗

Custom all value

public CustomVariableBuilder allValue(String allValue)

allowCustomValue🔗

Allow custom values to be entered in the variable

public CustomVariableBuilder allowCustomValue(Boolean allowCustomValue)

current🔗

Shows current selected variable text/value on the dashboard

public CustomVariableBuilder current(VariableOption current)

description🔗

Description of variable. It can be defined but null.

public CustomVariableBuilder description(String description)

hide🔗

Visibility configuration for the variable

public CustomVariableBuilder hide(VariableHide hide)

includeAll🔗

Whether all value option is available or not

public CustomVariableBuilder includeAll(Boolean includeAll)

label🔗

Optional display name

public CustomVariableBuilder label(String label)

multi🔗

Whether multiple values can be selected or not from variable value list

public CustomVariableBuilder multi(Boolean multi)

name🔗

Name of variable

public CustomVariableBuilder name(String name)

options🔗

Options that can be selected for a variable.

public CustomVariableBuilder options(List<VariableOption> options)

values🔗

Query used to fetch values for a variable

public CustomVariableBuilder values(StringOrMap query)

See also🔗