T - the type of the elements in the arraypublic static class PropertyBuilder.InlineArrayPropertyBuilder<T> extends PropertyBuilder<T,T[],PropertyBuilder.InlineArrayPropertyBuilder<T>>
InlineArrayProperty.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 |
|---|
InlineArrayPropertyBuilder(@NotNull InlineArrayConverter<T> inlineConverter) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Property<T[]> |
build()
Creates a property with the configured details.
|
@NotNull PropertyBuilder.InlineArrayPropertyBuilder<T> |
defaultValue(T... defaultValue)
Sets the default of the property.
|
getDefaultValue, getPath, getType, pathpublic InlineArrayPropertyBuilder(@NotNull
@NotNull InlineArrayConverter<T> inlineConverter)
@NotNull public @NotNull PropertyBuilder.InlineArrayPropertyBuilder<T> defaultValue(@NotNull T... defaultValue)
PropertyBuilderdefaultValue in class PropertyBuilder<T,T[],PropertyBuilder.InlineArrayPropertyBuilder<T>>defaultValue - the default value to set@NotNull public @NotNull Property<T[]> build()
PropertyBuilderbuild in class PropertyBuilder<T,T[],PropertyBuilder.InlineArrayPropertyBuilder<T>>Copyright © 2016–2023 The AuthMe Team. All rights reserved.