Package com.atlassian.jira.util
Class DefaultDurationFormatterProvider
java.lang.Object
com.atlassian.jira.util.DefaultDurationFormatterProvider
- All Implemented Interfaces:
InitializingComponent,DurationFormatterProvider
public class DefaultDurationFormatterProvider
extends Object
implements DurationFormatterProvider, InitializingComponent
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDurationFormatterProvider(com.atlassian.cache.CacheManager cacheManager, ApplicationProperties applicationProperties, TimeTrackingConfiguration timeTrackingConfiguration, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all the beans are constructed and the ApplicationContext is fully populated.voidonClearCacheEvent(ClearCacheEvent event) void
-
Constructor Details
-
DefaultDurationFormatterProvider
public DefaultDurationFormatterProvider(com.atlassian.cache.CacheManager cacheManager, ApplicationProperties applicationProperties, TimeTrackingConfiguration timeTrackingConfiguration, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
afterInstantiation
Description copied from interface:InitializingComponentCalled after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
getFormatter
- Specified by:
getFormatterin interfaceDurationFormatterProvider- Returns:
- the duration formatter.
-
onDurationFormatChanged
-
onClearCacheEvent
-