public class ModuleAnnotator extends ResourceContentAnnotator
| Constructor and Description |
|---|
ModuleAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after(LinkedHashSet<String> requiredResources,
Resource resource,
Map<String,String> params,
OutputStream stream) |
void |
afterResource(LinkedHashSet<String> requiredResources,
String url,
Resource resource,
Map<String,String> params,
OutputStream stream)
Called after the resource content is written.
|
void |
afterResourceInBatch(LinkedHashSet<String> requiredResources,
Resource resource,
Map<String,String> params,
OutputStream stream)
Called after the resource content is written in batch.
|
protected int |
before(LinkedHashSet<String> requiredResources,
Resource resource,
Map<String,String> params,
OutputStream stream) |
int |
beforeResource(LinkedHashSet<String> requiredResources,
String url,
Resource resource,
Map<String,String> params,
OutputStream stream)
Called before the resource content is written.
|
int |
beforeResourceInBatch(LinkedHashSet<String> requiredResources,
Resource resource,
Map<String,String> params,
OutputStream stream)
Called before the resource content is written in batch.
|
int |
hashCode()
Produce a hash for this instance.
|
afterAllResourcesInBatch, beforeAllResourcesInBatchpublic int beforeResourceInBatch(LinkedHashSet<String> requiredResources, Resource resource, Map<String,String> params, OutputStream stream) throws IOException
ResourceContentAnnotatorbeforeResourceInBatch in class ResourceContentAnnotatorIOException - if there is a problem writing the annotation.public int beforeResource(LinkedHashSet<String> requiredResources, String url, Resource resource, Map<String,String> params, OutputStream stream) throws IOException
ResourceContentAnnotatorbeforeResource in class ResourceContentAnnotatorIOExceptionpublic void afterResourceInBatch(LinkedHashSet<String> requiredResources, Resource resource, Map<String,String> params, OutputStream stream) throws IOException
ResourceContentAnnotatorafterResourceInBatch in class ResourceContentAnnotatorIOException - if there is a problem writing the annotation.public void afterResource(LinkedHashSet<String> requiredResources, String url, Resource resource, Map<String,String> params, OutputStream stream) throws IOException
ResourceContentAnnotatorafterResource in class ResourceContentAnnotatorIOExceptionprotected int before(LinkedHashSet<String> requiredResources, Resource resource, Map<String,String> params, OutputStream stream) throws IOException
IOExceptionprotected void after(LinkedHashSet<String> requiredResources, Resource resource, Map<String,String> params, OutputStream stream) throws IOException
IOExceptionpublic int hashCode()
ResourceContentAnnotatorhashCode in class ResourceContentAnnotatorCopyright © 2018 Atlassian. All rights reserved.