public class DefaultStatusFormatter extends Object implements StatusFormatter
Constructor and Description |
---|
DefaultStatusFormatter(VelocityTemplatingEngine templatingEngine,
SoyTemplateRendererProvider soyTemplateRendererProvider) |
Modifier and Type | Method and Description |
---|---|
String |
getColumnViewHtml(SimpleStatus status,
Map<String,Object> displayParams) |
String |
getColumnViewHtml(Status status,
Map<String,Object> displayParams) |
protected com.google.common.cache.LoadingCache<com.google.common.collect.ImmutableMap<String,Object>,String> |
getRequestCache() |
void |
onClearCache(ClearCacheEvent ignored) |
void |
onClearStatusCacheEvent(ClearStatusCacheEvent ignored) |
protected String |
renderTemplate(String template,
Map<String,Object> velocityParams) |
public DefaultStatusFormatter(VelocityTemplatingEngine templatingEngine, SoyTemplateRendererProvider soyTemplateRendererProvider)
@Nonnull protected com.google.common.cache.LoadingCache<com.google.common.collect.ImmutableMap<String,Object>,String> getRequestCache()
@Nonnull public String getColumnViewHtml(@Nullable Status status, @Nonnull Map<String,Object> displayParams)
getColumnViewHtml
in interface StatusFormatter
@Nonnull public String getColumnViewHtml(@Nullable SimpleStatus status, @Nonnull Map<String,Object> displayParams)
getColumnViewHtml
in interface StatusFormatter
@EventListener public void onClearCache(ClearCacheEvent ignored)
@EventListener public void onClearStatusCacheEvent(ClearStatusCacheEvent ignored)
Copyright © 2002-2015 Atlassian. All Rights Reserved.