public static interface ConfigurationExtension.ConfigurationExtensionBuilder
ConfigurationExtension.ConfigurationExtensionBuilder addResolver(Resolver resolver)
resolver
- ConfigurationExtension.ConfigurationExtensionBuilder addMustacheListener(MustacheListener listener)
Mustache
listener. Extension listeners are always
registered after listeners added via
MustacheEngineBuilder.addMustacheListener(MustacheListener)
.
Further ordering is not defined.listener
- ConfigurationExtension.ConfigurationExtensionBuilder addGlobalData(String name, Object value)
name
- value
- ConfigurationExtension.ConfigurationExtensionBuilder registerHelper(String name, Helper helper)
name
- helper
- IllegalArgumentException
- if a helper with the same name is already registeredConfigurationExtensions#registerHelper(ConfigurationExtensionBuilder,
String, Helper)
ConfigurationExtension.ConfigurationExtensionBuilder registerHelper(String name, Helper helper, boolean overwrite)
name
- helper
- overwrite
- ConfigurationExtension.ConfigurationExtensionBuilder registerHelpers(Map<String,Helper> helpers)
helpers
- IllegalArgumentException
- if a helper with the same name is already registeredConfigurationExtensions#registerHelpers(ConfigurationExtensionBuilder,
Map)
ConfigurationExtension.ConfigurationExtensionBuilder registerHelpers(Map<String,Helper> helpers, boolean overwrite)
helpers
- ConfigurationExtension.ConfigurationExtensionBuilder addValueConverter(ValueConverter converter)
converter
- Copyright © 2017. All rights reserved.