public class DefaultMacroCounter extends Object implements MacroCounter
Constructor and Description |
---|
DefaultMacroCounter() |
Modifier and Type | Method and Description |
---|---|
void |
addMacroUsage(MacroDefinition macroDefinition,
@Nullable Macro macro)
Record a single usage of the given macro.
|
List<MacroCount> |
getUsages() |
public void addMacroUsage(MacroDefinition macroDefinition, @Nullable Macro macro)
MacroCounter
addMacroUsage
in interface MacroCounter
macro
- null if this was an attempt to render an unknown macropublic List<MacroCount> getUsages()
getUsages
in interface MacroCounter
Copyright © 2003–2020 Atlassian. All rights reserved.