Interface GadgetSpecUrlChecker


public interface GadgetSpecUrlChecker
Models permission and validation checks on gadget specs.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assertRenderable(String gadgetSpecUri)
    Returns normally if the specified gadget spec is permitted to render.
  • Method Details

    • 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