Class MacroMetricsKey
java.lang.Object
com.atlassian.confluence.macro.count.MacroMetricsKey
- All Implemented Interfaces:
MarshallerMetricsAccumulationKey
A key used for the accumulation of metrics of macro creation and rendering.
- Since:
- 5.8
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull MacroMetricsKey
createFrom
(MacroDefinition macroDefinition, @Nullable Macro macro) boolean
int
hashCode()
-
Method Details
-
createFrom
public static @NonNull MacroMetricsKey createFrom(MacroDefinition macroDefinition, @Nullable Macro macro) -
equals
-
getMacroType
-
hashCode
public int hashCode() -
getAccumulationKeyAsString
- Specified by:
getAccumulationKeyAsString
in interfaceMarshallerMetricsAccumulationKey
- Returns:
- The string representation of the metrics accumulation key. This will go into the eventual analytics event.
-