1 package com.atlassian.plugin.webresource;
2
3 import com.atlassian.plugin.descriptors.AbstractModuleDescriptor;
4
5 /**
6 * A way of linking to web 'resources', such as javascript or css. This allows us to include resources once
7 * on any given page, as well as ensuring that plugins can declare resources, even if they are included
8 * at the bottom of a page.
9 */
10 public class WebResourceModuleDescriptor extends AbstractModuleDescriptor
11 {
12 /**
13 * As this descriptor just handles resources, you should never call this
14 */
15 public Object getModule()
16 {
17 throw new UnsupportedOperationException("There is no module for Web Resources");
18 }
19 }