T - the value typepublic static class PropertyBuilder.TypeBasedPropertyBuilder<T> extends PropertyBuilder<T,T,PropertyBuilder.TypeBasedPropertyBuilder<T>>
TypeBasedProperty.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 |
|---|
TypeBasedPropertyBuilder(@NotNull PropertyType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Property<T> |
build()
Creates a property with the configured details.
|
@NotNull PropertyBuilder.TypeBasedPropertyBuilder<T> |
createFunction(@NotNull PropertyBuilder.CreateFunction<T,T> createFunction) |
defaultValue, getDefaultValue, getPath, getType, pathpublic TypeBasedPropertyBuilder(@NotNull
@NotNull PropertyType<T> type)
@NotNull public @NotNull PropertyBuilder.TypeBasedPropertyBuilder<T> createFunction(@NotNull @NotNull PropertyBuilder.CreateFunction<T,T> createFunction)
@NotNull public @NotNull Property<T> build()
PropertyBuilderbuild in class PropertyBuilder<T,T,PropertyBuilder.TypeBasedPropertyBuilder<T>>Copyright © 2016–2023 The AuthMe Team. All rights reserved.