TypeBuilders.BoolProp


@RequiresSchemaVersion(major = 1, minor = 0)
public final class TypeBuilders.BoolProp


A boolean type.

Summary

Nested types

Builder for BoolProp

Public methods

@Nullable DynamicBuilders.DynamicBool

Gets the dynamic value.

boolean

Gets the static value.

@NonNull String

Public methods

getDynamicValue

Added in 1.1.0
public @Nullable DynamicBuilders.DynamicBool getDynamicValue()

Gets the dynamic value. Note that when setting this value, the static value is still required to be set to support older renderers that only read the static value. If dynamicValue has an invalid result, the provided static value will be used instead.

getValue

Added in 1.0.0
public boolean getValue()

Gets the static value. If a dynamic value is also set and the renderer supports dynamic values for the corresponding field, this static value will be ignored. If the static value is not specified, false will be used instead.

toString

public @NonNull String toString()