T - the type of the elements in the listpublic static class PropertyBuilder.ListPropertyBuilder<T> extends PropertyBuilder<T,List<T>,PropertyBuilder.ListPropertyBuilder<T>>
ListProperty.PropertyBuilder.ArrayPropertyBuilder<T>, PropertyBuilder.CreateFunction<K,T>, PropertyBuilder.InlineArrayPropertyBuilder<T>, PropertyBuilder.ListPropertyBuilder<T>, PropertyBuilder.MapPropertyBuilder<T>, PropertyBuilder.SetPropertyBuilder<T>, PropertyBuilder.TypeBasedPropertyBuilder<T>| Constructor and Description |
|---|
ListPropertyBuilder(PropertyType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Property<List<T>> |
build()
Creates a property with the configured details.
|
PropertyBuilder.ListPropertyBuilder<T> |
defaultValue(T... defaultValue) |
defaultValue, getDefaultValue, getPath, getType, pathpublic ListPropertyBuilder(PropertyType<T> type)
public PropertyBuilder.ListPropertyBuilder<T> defaultValue(T... defaultValue)
public Property<List<T>> build()
PropertyBuilderbuild in class PropertyBuilder<T,List<T>,PropertyBuilder.ListPropertyBuilder<T>>Copyright © 2016–2021 The AuthMe Team. All rights reserved.