Class ContextBatchPluginResource

java.lang.Object
com.atlassian.plugin.webresource.legacy.AbstractPluginResource
com.atlassian.plugin.webresource.legacy.ContextBatchPluginResource
All Implemented Interfaces:
PluginResource

public class ContextBatchPluginResource extends AbstractPluginResource
Represents a batch of all resources that declare themselves as part of a given context(s).

The URL for batch resources is /download/contextbatch/<type>/<contextname>/batch.<type. The additional type part in the path is simply there to make the number of path-parts identical with other resources, so relative URLs will still work in CSS files.

The <contextname> part has the following syntax -
<includedContext1>,<includedContext2>,-<excludedContext1>,-<excludedContext2>

To clarify, multiple comma separated contexts should be combined with any contexts preceded by a '-' to be excluded.

Since:
2.9.0
  • Constructor Details

    • ContextBatchPluginResource

      public ContextBatchPluginResource(List<String> contexts, Iterable<String> excludedContexts, Set<String> completeKeys, boolean removeSuperResources)
  • Method Details