Class ObjectEventTranslatorImpl
java.lang.Object
com.riadalabs.jira.plugins.insight.channel.external.api.facade.event.ObjectEventTranslatorImpl
- All Implemented Interfaces:
ObjectEventTranslator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEventTypeNameAsI18
(InsightObjectEventType insightObjectEventType) Returns a i18 representation of the name of this instance.
-
Constructor Details
-
ObjectEventTranslatorImpl
public ObjectEventTranslatorImpl(io.riada.insight.utils.I18nFactory i18nFactory)
-
-
Method Details
-
getEventTypeNameAsI18
@Nonnull public String getEventTypeNameAsI18(@Nonnull InsightObjectEventType insightObjectEventType) Description copied from interface:ObjectEventTranslator
Returns a i18 representation of the name of this instance.- Specified by:
getEventTypeNameAsI18
in interfaceObjectEventTranslator
- Returns:
- The i18 representation of the name. IF the i18 key is NOT found, then: lowerCase(NNN) is returned (taken from: OBJECT_NNN).
-