public class

DefaultStatusFormatter

extends Object
implements StatusFormatter
java.lang.Object
   ↳ com.atlassian.jira.issue.status.DefaultStatusFormatter

Summary

Public Constructors
DefaultStatusFormatter(VelocityTemplatingEngine templatingEngine, SoyTemplateRendererProvider soyTemplateRendererProvider)
Public Methods
@Nonnull String getColumnViewHtml(SimpleStatus status, Map<StringObject> displayParams)
@Nonnull String getColumnViewHtml(Status status, Map<StringObject> displayParams)
@EventListener void onClearCache(ClearCacheEvent ignored)
@EventListener void onClearStatusCacheEvent(ClearStatusCacheEvent ignored)
Protected Methods
@Nonnull LoadingCache<ImmutableMap<StringObject>, String> getRequestCache()
String renderTemplate(String template, Map<StringObject> velocityParams)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.status.StatusFormatter

Public Constructors

public DefaultStatusFormatter (VelocityTemplatingEngine templatingEngine, SoyTemplateRendererProvider soyTemplateRendererProvider)

Public Methods

@Nonnull public String getColumnViewHtml (SimpleStatus status, Map<StringObject> displayParams)

@Nonnull public String getColumnViewHtml (Status status, Map<StringObject> displayParams)

@EventListener public void onClearCache (ClearCacheEvent ignored)

@EventListener public void onClearStatusCacheEvent (ClearStatusCacheEvent ignored)

Protected Methods

@Nonnull protected LoadingCache<ImmutableMap<StringObject>, String> getRequestCache ()

protected String renderTemplate (String template, Map<StringObject> velocityParams)