public class TemplateContext extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TemplateContext() |
TemplateContext(String pluginId,
String language) |
| Modifier and Type | Method and Description |
|---|---|
TemplateContext |
channelKey(ChannelKey channelKey) |
TemplateContext |
digestType(int digestSize) |
TemplateContext |
end() |
ChannelKey |
getChannelKey() |
int |
getDigestSize() |
Throwable |
getException() |
String |
getLanguage() |
String |
getPluginId() |
TemplateContext |
language(String language) |
static TemplateContext |
newChannelInstance(ChannelKey channelKey,
String pluginId,
String language) |
TemplateContext |
pluginId(String pluginId) |
void |
setException(Throwable exception)
Holds the exception if have any on transform processing.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic static TemplateContext newChannelInstance(ChannelKey channelKey, String pluginId, String language)
public void setException(Throwable exception)
exception - public Throwable getException()
public TemplateContext digestType(int digestSize)
public TemplateContext channelKey(ChannelKey channelKey)
public TemplateContext pluginId(String pluginId)
public TemplateContext language(String language)
public TemplateContext end()
public String getPluginId()
public ChannelKey getChannelKey()
public String getLanguage()
public int getDigestSize()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.