| Modifier and Type | Class and Description |
|---|---|
class |
PluginResourceContainer
If the Resource belongs to Plugin - represents that Plugin, mostly needed as a stub.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
WebResourceSubBatchUrl.getBundle() |
| Modifier and Type | Method and Description |
|---|---|
List<Bundle> |
ContextSubBatchResourceUrl.getBatchedBundles() |
| Modifier and Type | Method and Description |
|---|---|
Dimensions |
DefaultWebResourceAssemblerFactory.computeBundleDimensions(Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
Map<Bundle,LinkedHashMap<String,Resource>> |
RequestCache.getCachedResources()
Needed by WebResource as a storage for Cache.
|
| Modifier and Type | Method and Description |
|---|---|
protected Resource |
Config.buildResource(Bundle bundle,
com.atlassian.plugin.elements.ResourceLocation resourceLocation)
Helper to hide bunch of integration code and simplify resource creation.
|
LinkedHashMap<String,Resource> |
Config.getResourcesWithoutCache(Bundle bundle)
Queries the plugin system and return list of Resources for Web Resource.
|
| Modifier and Type | Method and Description |
|---|---|
protected Bundle |
BundleWalker.getBundle(String key) |
| Modifier and Type | Method and Description |
|---|---|
BundleFinder |
BundleFinder.deepFilter(com.google.common.base.Predicate<Bundle> filter)
Remove element and all its dependencies if filter fail.
|
BundleFinder |
BundleFinder.excluded(Collection<String> keys,
com.google.common.base.Predicate<Bundle> conditionsForExcluded) |
Found |
BundleWalker.find(LinkedHashSet<String> included,
Set<String> excluded,
com.google.common.base.Predicate<Bundle> conditionsForExcluded,
boolean shouldExpandExcludedKeys,
com.google.common.base.Predicate<Bundle> deep,
com.google.common.base.Predicate<Bundle> deepFilter,
PredicateFailStrategy deepFilterFailStrategy,
com.google.common.base.Predicate<Bundle> shallowFilter)
Returns an ordered set of web-resource keys, based on the dependency graph
of the included keys, and whether each web-resource discovered meets the conditions
specified in the search.
|
Found |
BundleWalker.find(LinkedHashSet<String> included,
Set<String> excluded,
com.google.common.base.Predicate<Bundle> conditionsForExcluded,
boolean shouldExpandExcludedKeys,
com.google.common.base.Predicate<Bundle> deep,
com.google.common.base.Predicate<Bundle> deepFilter,
PredicateFailStrategy deepFilterFailStrategy,
com.google.common.base.Predicate<Bundle> shallowFilter)
Returns an ordered set of web-resource keys, based on the dependency graph
of the included keys, and whether each web-resource discovered meets the conditions
specified in the search.
|
Found |
BundleWalker.find(LinkedHashSet<String> included,
Set<String> excluded,
com.google.common.base.Predicate<Bundle> conditionsForExcluded,
boolean shouldExpandExcludedKeys,
com.google.common.base.Predicate<Bundle> deep,
com.google.common.base.Predicate<Bundle> deepFilter,
PredicateFailStrategy deepFilterFailStrategy,
com.google.common.base.Predicate<Bundle> shallowFilter)
Returns an ordered set of web-resource keys, based on the dependency graph
of the included keys, and whether each web-resource discovered meets the conditions
specified in the search.
|
Found |
BundleWalker.find(LinkedHashSet<String> included,
Set<String> excluded,
com.google.common.base.Predicate<Bundle> conditionsForExcluded,
boolean shouldExpandExcludedKeys,
com.google.common.base.Predicate<Bundle> deep,
com.google.common.base.Predicate<Bundle> deepFilter,
PredicateFailStrategy deepFilterFailStrategy,
com.google.common.base.Predicate<Bundle> shallowFilter)
Returns an ordered set of web-resource keys, based on the dependency graph
of the included keys, and whether each web-resource discovered meets the conditions
specified in the search.
|
BundleFinder |
BundleFinder.shallowFilter(com.google.common.base.Predicate<Bundle> filter)
Remove element but leave its dependencies if filter fail.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Bundle> |
BaseHelpers.hasConditions()
Filter that leaves only resources that have legacy conditions.
|
static com.google.common.base.Predicate<Bundle> |
BaseHelpers.hasLegacyCondition()
Filter that leaves only resources that have legacy conditions.
|
static com.google.common.base.Predicate<Bundle> |
BaseHelpers.isConditionsSatisfied(RequestCache requestCache,
Map<String,String> params)
Filter by web resource conditions evaluated against params.
|
static com.google.common.base.Predicate<Bundle> |
BaseHelpers.isConditionsSatisfied(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy)
Filter by web resource conditions evaluated immediately.
|
| Modifier and Type | Method and Description |
|---|---|
List<Bundle> |
SubBatch.getAllFoundBundles() |
List<Bundle> |
SubBatch.getBundles() |
| Modifier and Type | Method and Description |
|---|---|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
Bundle bundle,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
UrlGenerationHelpers.calculateBundlesHash(List<Bundle> bundles) |
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
Bundle bundle,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
Bundle bundle,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
List<Bundle> bundles,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
List<Bundle> bundles,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
protected static StateEncodedUrlResult |
UrlGenerationHelpers.encodeStateInUrlIfSupported(RequestCache requestCache,
UrlBuildingStrategy urlBuilderStrategy,
String type,
Map<String,String> params,
List<Bundle> bundles,
List<Bundle> skipped,
List<Bundle> excludedWithoutApplyingConditions)
Collect and encode URL state for given Resources, it collects resource params, condition params and transformer params.
|
| Constructor and Description |
|---|
SubBatch(Map<String,String> resourcesParams,
Bundle bundle,
List<Resource> resources) |
| Constructor and Description |
|---|
SubBatch(Map<String,String> resourcesParams,
List<Bundle> filteredBundles,
List<Resource> resources,
List<Bundle> allFoundBundles) |
SubBatch(Map<String,String> resourcesParams,
List<Bundle> filteredBundles,
List<Resource> resources,
List<Bundle> allFoundBundles) |
| Modifier and Type | Class and Description |
|---|---|
class |
Context
Context.
|
class |
WebResource
Web Resource.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
Snapshot.get(String key) |
| Modifier and Type | Method and Description |
|---|---|
List<Bundle> |
Snapshot.toBundles(Iterable<String> keys) |
| Modifier and Type | Method and Description |
|---|---|
void |
Snapshot.forEachBundle(Consumer<Bundle> consumer)
|
| Constructor and Description |
|---|
Snapshot(Config config,
Map<String,Bundle> cachedBundles,
Map<String,RootPage> rootPages,
Map<WebResource,CachedTransformers> webResourcesTransformations,
Map<WebResource,CachedCondition> webResourcesCondition,
Map<String,Deprecation> webResourceDeprecationWarnings,
Set<WebResource> webResourcesWithLegacyConditions,
Set<WebResource> webResourcesWithLegacyTransformers,
Set<WebResource> webResourcesWithDisabledMinification) |
Snapshot(Config config,
Map<String,Bundle> cachedBundles,
Map<String,RootPage> rootPages,
Map<WebResource,CachedTransformers> webResourcesTransformations,
Map<WebResource,CachedCondition> webResourcesCondition,
Set<WebResource> webResourcesWithLegacyConditions,
Set<WebResource> webResourcesWithLegacyTransformers,
Set<WebResource> webResourcesWithDisabledMinification) |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
Resource.getParent()
Get Parent - Web Resource or Plugin.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
ResourceFactory.createResource(Bundle parent,
com.atlassian.plugin.elements.ResourceLocation resourceLocation,
String nameType,
String locationType) |
Resource |
ResourceFactory.createResourceWithRelativePath(Bundle parent,
com.atlassian.plugin.elements.ResourceLocation resourceLocation,
String nameType,
String locationType,
String overriddenPath)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
StreamStrategy |
StreamStrategyFactory.createStandardModuleStreamStrategy(Bundle parent,
com.atlassian.plugin.elements.ResourceLocation resourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Bundle> |
Support.efficientAndPredicate(List<com.google.common.base.Predicate<Bundle>> predicates)
Join list of predicates with AND operand.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Bundle> |
Support.efficientAndPredicate(List<com.google.common.base.Predicate<Bundle>> predicates)
Join list of predicates with AND operand.
|
| Modifier and Type | Method and Description |
|---|---|
Dimensions |
PrebakeWebResourceAssemblerFactory.computeBundleDimensions(Bundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
Dimensions |
DefaultStaticTransformers.computeBundleDimensions(Bundle bundle) |
Dimensions |
StaticTransformers.computeBundleDimensions(Bundle bundle) |
Copyright © 2024 Atlassian. All rights reserved.