public class MacroAsyncRenderWhitelist extends Object
Modifier and Type | Method and Description |
---|---|
static MacroAsyncRenderWhitelist |
emptyWhitelist() |
static MacroAsyncRenderWhitelist |
fromProperties(Properties properties) |
static MacroAsyncRenderWhitelist |
fromPropertiesResource(org.springframework.core.io.Resource resource) |
boolean |
isAsyncRenderSafe(MacroDefinition macroDefinition,
Class<? extends Macro> macroClass) |
boolean |
isAsyncRenderSafe(String macroId,
Class<? extends Macro> macroClass) |
public static MacroAsyncRenderWhitelist emptyWhitelist()
public static MacroAsyncRenderWhitelist fromPropertiesResource(org.springframework.core.io.Resource resource)
public static MacroAsyncRenderWhitelist fromProperties(Properties properties)
public boolean isAsyncRenderSafe(String macroId, Class<? extends Macro> macroClass)
public boolean isAsyncRenderSafe(MacroDefinition macroDefinition, Class<? extends Macro> macroClass)
Copyright © 2003–2020 Atlassian. All rights reserved.