public class AnnotationMacroBodyTranformationCondition extends Object implements MacroBodyTransformationCondition
RequiresFormat
annotation on the
Macro
class. The default behaviour if no annotation is provided is to do
the transformation.RequiresFormat
,
Format
,
Macro
Constructor and Description |
---|
AnnotationMacroBodyTranformationCondition(MacroManager macroManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldTransform(String macroName)
Returns true if the macro body should be transformed, false otherwise.
|
public AnnotationMacroBodyTranformationCondition(MacroManager macroManager)
public boolean shouldTransform(String macroName)
MacroBodyTransformationCondition
shouldTransform
in interface MacroBodyTransformationCondition
macroName
- macro nameCopyright © 2003–2020 Atlassian. All rights reserved.