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