com.atlassian.jira.plugin.webresource
Class JiraWebResourceBatchingConfiguration

java.lang.Object
  extended by com.atlassian.jira.plugin.webresource.JiraWebResourceBatchingConfiguration
All Implemented Interfaces:
com.atlassian.plugin.webresource.ResourceBatchingConfiguration

public class JiraWebResourceBatchingConfiguration
extends Object
implements com.atlassian.plugin.webresource.ResourceBatchingConfiguration

Determins which resources are included superbatched on every page!

Since:
v4.3

Constructor Summary
JiraWebResourceBatchingConfiguration()
           
 
Method Summary
static com.atlassian.plugin.webresource.WebResourceFilter getSuperBatchExcludingFilter()
          Sometimes it may be necessary to only include web-resources that are not part of the superbatch (for example when returning a page via ajax like on the browse project tabs) since the surrounding page already includes the superbatch.
 List<String> getSuperBatchModuleCompleteKeys()
           
 boolean isSuperBatchingEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebResourceBatchingConfiguration

public JiraWebResourceBatchingConfiguration()
Method Detail

isSuperBatchingEnabled

public boolean isSuperBatchingEnabled()
Specified by:
isSuperBatchingEnabled in interface com.atlassian.plugin.webresource.ResourceBatchingConfiguration

getSuperBatchModuleCompleteKeys

public List<String> getSuperBatchModuleCompleteKeys()
Specified by:
getSuperBatchModuleCompleteKeys in interface com.atlassian.plugin.webresource.ResourceBatchingConfiguration

getSuperBatchExcludingFilter

public static com.atlassian.plugin.webresource.WebResourceFilter getSuperBatchExcludingFilter()
Sometimes it may be necessary to only include web-resources that are not part of the superbatch (for example when returning a page via ajax like on the browse project tabs) since the surrounding page already includes the superbatch. The filter this method returns will exclude all the resources that are part of the superbatch.

Returns:
A WebResourceFilter that excludes all superbatch resources.


Copyright © 2002-2011 Atlassian. All Rights Reserved.