public class DefaultDurationFormatterProvider extends Object implements DurationFormatterProvider
| Constructor and Description |
|---|
DefaultDurationFormatterProvider(com.atlassian.cache.CacheManager cacheManager,
ApplicationProperties applicationProperties,
TimeTrackingConfiguration timeTrackingConfiguration,
I18nHelper.BeanFactory i18nFactory,
JiraAuthenticationContext authenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
JiraDurationUtils.DurationFormatter |
getFormatter() |
void |
onClearCacheEvent(ClearCacheEvent event) |
void |
onDurationFormatChanged(DurationFormatChanged event) |
public DefaultDurationFormatterProvider(com.atlassian.cache.CacheManager cacheManager,
ApplicationProperties applicationProperties,
TimeTrackingConfiguration timeTrackingConfiguration,
I18nHelper.BeanFactory i18nFactory,
JiraAuthenticationContext authenticationContext)
public JiraDurationUtils.DurationFormatter getFormatter()
getFormatter in interface DurationFormatterProvider@EventListener public void onDurationFormatChanged(DurationFormatChanged event)
@EventListener public void onClearCacheEvent(ClearCacheEvent event)
Copyright © 2002-2022 Atlassian. All Rights Reserved.