/plugin-module-codegen-engine/src/main/resources/templates/common/web/webpanelrenderer/WebPanelRenderer.java.vtl

https://bitbucket.org/mmeinhold/amps · Unknown · 28 lines · 21 code · 7 blank · 0 comment · 0 complexity · 8d0bd76bdeea15ed42f2d569ba92b5bd MD5 · raw file

  1. package ${PACKAGE};
  2. import org.slf4j.Logger;
  3. import org.slf4j.LoggerFactory;
  4. import com.atlassian.plugin.Plugin;
  5. import com.atlassian.plugin.web.renderer.RendererException;
  6. import com.atlassian.plugin.web.renderer.WebPanelRenderer;
  7. import java.io.IOException;
  8. import java.io.Writer;
  9. import java.util.Map;
  10. public class ${CLASSNAME} implements WebPanelRenderer {
  11. private static final Logger log = LoggerFactory.getLogger(${CLASSNAME}.class);
  12. public String getResourceType() {
  13. throw new AssertionError("Not yet implemented.");
  14. }
  15. public void render(String templateName, Plugin plugin, Map<String, Object> context, Writer writer) throws RendererException, IOException {
  16. throw new AssertionError("Not yet implemented.");
  17. }
  18. public String renderFragment(String fragment, Plugin plugin, Map<String, Object> context) throws RendererException {
  19. throw new AssertionError("Not yet implemented.");
  20. }
  21. }