public class TryCatchJsResourceContentAnnotator extends ResourceContentAnnotator
| Modifier and Type | Field and Description |
|---|---|
static String |
CATCH_BLOCK |
| Constructor and Description |
|---|
TryCatchJsResourceContentAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterResourceInBatch(LinkedHashSet<String> requiredResources,
Resource resource,
OutputStream stream)
Called after the resource content is written in batch.
|
int |
beforeAllResourcesInBatch(LinkedHashSet<String> requiredResources,
String url,
OutputStream stream)
Called before all content is written in batch.
|
int |
beforeResourceInBatch(LinkedHashSet<String> requiredResources,
Resource resource,
OutputStream stream)
Called before the resource content is written in batch.
|
int |
hashCode()
Produce a hash for this instance.
|
afterAllResourcesInBatch, afterResource, beforeResourcepublic static final String CATCH_BLOCK
public int beforeResourceInBatch(LinkedHashSet<String> requiredResources, Resource resource, OutputStream stream) throws IOException
ResourceContentAnnotatorbeforeResourceInBatch in class ResourceContentAnnotatorIOException - if there is a problem writing the annotation.public void afterResourceInBatch(LinkedHashSet<String> requiredResources, Resource resource, OutputStream stream) throws IOException
ResourceContentAnnotatorafterResourceInBatch in class ResourceContentAnnotatorIOException - if there is a problem writing the annotation.public int beforeAllResourcesInBatch(LinkedHashSet<String> requiredResources, String url, OutputStream stream) throws IOException
ResourceContentAnnotatorbeforeAllResourcesInBatch in class ResourceContentAnnotatorIOExceptionpublic int hashCode()
ResourceContentAnnotatorhashCode in class ResourceContentAnnotatorCopyright © 2017 Atlassian. All rights reserved.