public class StringArrayAttribute extends PrimitiveAttribute<java.lang.String[]>
An attribute that can contain an array of strings.
[[examples=verboseExample]]defaultValue| Constructor and Description |
|---|
StringArrayAttribute()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getValueType()
Get the class of the value.
|
void |
setDefault(java.lang.String[] value)
A default value for this attribute.
|
clientConfigTypeDescription, getDefault, getValue, getValueClass, printClientConfig, setConfigName, validate, validateValuepublic final void setDefault(java.lang.String[] value)
A default value for this attribute. Example:
attributes:
title: !stringArray
default: [one, two, three]setDefault in class PrimitiveAttribute<java.lang.String[]>value - The default value.public java.lang.Class getValueType()
Attribute