Package com.atlassian.gadgets
Interface GadgetSpecUrlChecker
public interface GadgetSpecUrlChecker
Models permission and validation checks on gadget specs.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertRenderable(String gadgetSpecUri) Returns normally if the specified gadget spec is permitted to render.
-
Method Details
-
assertRenderable
Returns normally if the specified gadget spec is permitted to render.- Parameters:
gadgetSpecUri- the gadget spec to render- Throws:
GadgetSpecUriNotAllowedException- if the URI is not allowed to renderNullPointerException- ifgadgetSpecUriis null
-