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