T - the value type of the mappublic static class PropertyBuilder.MapPropertyBuilder<T> extends PropertyBuilder<T,Map<String,T>,PropertyBuilder.MapPropertyBuilder<T>>
MapProperty.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 |
|---|
MapPropertyBuilder(@NotNull PropertyType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull MapProperty<T> |
build()
Creates a property with the configured details.
|
@NotNull PropertyBuilder.MapPropertyBuilder<T> |
defaultEntry(@NotNull String key,
T value) |
defaultValue, getDefaultValue, getPath, getType, pathpublic MapPropertyBuilder(@NotNull
@NotNull PropertyType<T> type)
@NotNull public @NotNull PropertyBuilder.MapPropertyBuilder<T> defaultEntry(@NotNull @NotNull String key, @NotNull T value)
@NotNull public @NotNull MapProperty<T> build()
PropertyBuilderbuild in class PropertyBuilder<T,Map<String,T>,PropertyBuilder.MapPropertyBuilder<T>>Copyright © 2016–2023 The AuthMe Team. All rights reserved.