public interface WebResourceDependenciesRecorder
Modifier and Type | Interface and Description |
---|---|
static interface |
WebResourceDependenciesRecorder.RecordedResources
Holds the various resources that are recorded from
record(Callable) . |
Modifier and Type | Method and Description |
---|---|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Callable<T> callback)
Records the webresources used during the execution of the given callback.
|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
boolean includeSuperbatch,
Callable<T> callback)
Records the webresources used during the execution of the given callback.
|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Callable<T> callback)
Same as calling
record(Iterable, Iterable, boolean, Callable) , but with superbatch set to false. |
<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) |
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Callable<T> callback) throws Exception
record(Iterable, Iterable,
Callable)
without any overrides.T
- the return value of the callbackcallback
- the code to execute during recordingException
- if the callback threw an exception.<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, Callable<T> callback) throws Exception
record(Iterable, Iterable, boolean, Callable)
, but with superbatch set to false.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.<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
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.<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
Exception
Copyright © 2003–2017 Atlassian. All rights reserved.