public static class AutoSuggestFormElementConfiguration.DataSet extends ElementConfigurationMap<AutoSuggestFormElementConfiguration.DataSet>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic AutoSuggestFormElementConfiguration.DataSet name(String name)
public AutoSuggestFormElementConfiguration.DataSet remoteUrl(String remoteUrl)
remoteUrl - url for fetching remote suggestionspublic AutoSuggestFormElementConfiguration.DataSet prefetchUrl(String prefetchUrl)
prefetchUrl - url for prefetchpublic AutoSuggestFormElementConfiguration.DataSet bloodhound(Consumer<ElementConfigurationMap> consumer)
remote(Consumer),
prefetch(Consumer)public AutoSuggestFormElementConfiguration.DataSet remote(Consumer<ElementConfigurationMap> consumer)
consumer - to configure the optionspublic AutoSuggestFormElementConfiguration.DataSet prefetch(Consumer<ElementConfigurationMap> consumer)
consumer - to configure the optionspublic AutoSuggestFormElementConfiguration.DataSet setAttribute(String key, Object value)
HashMap.put(Object, Object) except suitable for fluent API,
because it returns the same instance.setAttribute in class ElementConfigurationMap<AutoSuggestFormElementConfiguration.DataSet>key - attribute keyvalue - attribute valuepublic AutoSuggestFormElementConfiguration.DataSet translate(Function<String,String> linkBuilder)
linkBuilder - to use on the urlsCopyright © 2020. All rights reserved.