com.atlassian.plugin.webresource
Class SuperBatchSubResource
java.lang.Object
com.atlassian.plugin.webresource.SuperBatchPluginResource
com.atlassian.plugin.webresource.SuperBatchSubResource
- All Implemented Interfaces:
- DownloadableResource, BatchResource, PluginResource
public class SuperBatchSubResource
- extends SuperBatchPluginResource
Represents a plugin resource that is a subordinate of the super batch.
This is typically the case for CSS in the superbatch with relative urls to images. For example:
/download/superbatch/css/images/foo.png
|
Constructor Summary |
SuperBatchSubResource(java.lang.String resourceName,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> params)
|
|
Method Summary |
static boolean |
matches(java.lang.String path)
|
static SuperBatchSubResource |
parse(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> params)
|
| Methods inherited from class com.atlassian.plugin.webresource.SuperBatchPluginResource |
add, createBatchFor, getContentType, getModuleCompleteKey, getParams, getResourceName, getType, getType, getUrl, getVersion, isCacheSupported, isEmpty, isResourceModified, serveResource, streamResource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SuperBatchSubResource
public SuperBatchSubResource(java.lang.String resourceName,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> params)
matches
public static boolean matches(java.lang.String path)
parse
public static SuperBatchSubResource parse(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> params)
Copyright © 2010 Atlassian. All Rights Reserved.