public class ThreadlocalWebResourceDependenciesRecorder extends Object implements WebResourceDependenciesRecorder
PageBuilderService
to do the webresource resolution.WebResourceDependenciesRecorder.RecordedResources
Constructor and Description |
---|
ThreadlocalWebResourceDependenciesRecorder(com.atlassian.webresource.api.assembler.WebResourceAssemblerFactory webResourceAssemblerFactory,
com.atlassian.plugin.webresource.assembler.LegacyPageBuilderService pageBuilderService)
Deprecated.
since 6.7.0
|
ThreadlocalWebResourceDependenciesRecorder(com.atlassian.webresource.api.assembler.WebResourceAssemblerFactory webResourceAssemblerFactory,
com.atlassian.plugin.webresource.assembler.LegacyPageBuilderService pageBuilderService,
EditorContextCompatibility editorContextCompatibility) |
Modifier and Type | Method and Description |
---|---|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Callable<T> callback)
Deprecated.
since 7.0.1. Use
WebResourceDependenciesRecorder.recordResources(Callable) |
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
boolean includeSuperbatch,
Callable<T> callback)
Deprecated.
|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Callable<T> callback)
Deprecated.
|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Iterable<String> excludeContexts,
Iterable<String> excludeResources,
boolean includeSuperbatch,
Callable<T> callback)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
recordResources, recordResources, recordResources, recordResources
public ThreadlocalWebResourceDependenciesRecorder(com.atlassian.webresource.api.assembler.WebResourceAssemblerFactory webResourceAssemblerFactory, com.atlassian.plugin.webresource.assembler.LegacyPageBuilderService pageBuilderService, EditorContextCompatibility editorContextCompatibility)
@Deprecated public ThreadlocalWebResourceDependenciesRecorder(com.atlassian.webresource.api.assembler.WebResourceAssemblerFactory webResourceAssemblerFactory, com.atlassian.plugin.webresource.assembler.LegacyPageBuilderService pageBuilderService)
@Deprecated public <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, Callable<T> callback) throws Exception
WebResourceDependenciesRecorder.recordResources(Iterable, Iterable, Callable)
WebResourceDependenciesRecorder
WebResourceDependenciesRecorder.recordResources(Iterable, Iterable, boolean, Callable)
, but with superbatch set to false.record
in interface WebResourceDependenciesRecorder
T
- the return value of the callback.additionalContexts
- the context that should be added to the set of webresources (which may not be in the callback)additionalResources
- the additional resources that should be added to the set of webresources (which may not be in the
callback)callback
- the code to execute during recordingException
- if the callback threw an exception.@Deprecated public <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
WebResourceDependenciesRecorder.recordResources(Iterable, Iterable, boolean, Callable)
WebResourceDependenciesRecorder
record
in interface WebResourceDependenciesRecorder
T
- the return value of the callback.additionalContexts
- the context that should be added to the set of webresources (which may not be in the callback)additionalResources
- the additional resources that should be added to the set of webresources (which may not be in the
callback)includeSuperbatch
- true if the record should include the superbatch.callback
- the code to execute during recordingException
- if the callback threw an exception.@Deprecated public <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, Iterable<String> excludeContexts, Iterable<String> excludeResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
WebResourceDependenciesRecorder.recordResources(Iterable, Iterable, Iterable, Iterable, boolean, Callable)
record
in interface WebResourceDependenciesRecorder
Exception
@Deprecated public <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Callable<T> callback) throws Exception
WebResourceDependenciesRecorder.recordResources(Callable)
WebResourceDependenciesRecorder
WebResourceDependenciesRecorder.recordResources(Iterable, Iterable,
Callable)
without any overrides.record
in interface WebResourceDependenciesRecorder
T
- the return value of the callbackcallback
- the code to execute during recordingException
- if the callback threw an exception.Copyright © 2003–2020 Atlassian. All rights reserved.