com.atlassian.plugin.webresource
Interface ResourceBatchingConfiguration

All Known Implementing Classes:
DefaultResourceBatchingConfiguration

public interface ResourceBatchingConfiguration

Resource batching configuration for the WebResourceManagerImpl. Currently contains the configuration for super batch support.


Method Summary
 List<String> getSuperBatchModuleCompleteKeys()
          Gets the list of resource plugin modules that should be included in the superbatch, in the order that they should be batched.
 boolean isSuperBatchingEnabled()
          Gets whether web resources in different resource modules should be batched together.
 

Method Detail

isSuperBatchingEnabled

boolean isSuperBatchingEnabled()
Gets whether web resources in different resource modules should be batched together.


getSuperBatchModuleCompleteKeys

List<String> getSuperBatchModuleCompleteKeys()
Gets the list of resource plugin modules that should be included in the superbatch, in the order that they should be batched. No dependency resolution is performed, so it is important that the configuration includes all dependent resources in the right order. Any call to WebResourceManager.requireResource(java.lang.String) for one of these resources will be a no-op, and any dependency resolution for resources will stop if the dependency is in the superbatch.



Copyright © 2011 Atlassian. All Rights Reserved.