com.atlassian.gadgets
Interface GadgetSpecUrlChecker

All Known Implementing Classes:
GadgetSpecUrlCheckerImpl

public interface GadgetSpecUrlChecker

Models permission and validation checks on gadget specs.


Method Summary
 void assertRenderable(String gadgetSpecUri)
          Returns normally if the specified gadget spec is permitted to render.
 

Method Detail

assertRenderable

void assertRenderable(String gadgetSpecUri)
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 render
NullPointerException - if gadgetSpecUri is null


Copyright © 2009 Atlassian. All Rights Reserved.