public class BooleanAttribute extends PrimitiveAttribute<java.lang.Boolean>
A boolean type attribute.
[[examples=verboseExample]]defaultValue| Constructor and Description |
|---|
BooleanAttribute()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getValueType()
Get the class of the value.
|
void |
setDefault(java.lang.Boolean value)
A default value for this attribute.
|
clientConfigTypeDescription, getDefault, getValue, getValueClass, printClientConfig, setConfigName, validate, validateValuepublic final void setDefault(java.lang.Boolean value)
A default value for this attribute. Example:
attributes:
title: !boolean
default: TruesetDefault in class PrimitiveAttribute<java.lang.Boolean>value - The default value.public java.lang.Class getValueType()
Attribute