public class ListOfAnnotators extends ResourceContentAnnotator
| Constructor and Description |
|---|
ListOfAnnotators(List<ResourceContentAnnotator> annotators) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAllResourcesInBatch(LinkedHashSet<String> requiredResources,
String url,
OutputStream stream)
Called after all content is written in batch.
|
void |
afterResource(LinkedHashSet<String> requiredResources,
String url,
Resource resource,
OutputStream stream)
Called after the resource content is written.
|
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 |
beforeResource(LinkedHashSet<String> requiredResources,
String url,
Resource resource,
OutputStream stream)
Called before the resource content is written.
|
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.
|
public ListOfAnnotators(List<ResourceContentAnnotator> annotators)
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 void afterAllResourcesInBatch(LinkedHashSet<String> requiredResources, String url, OutputStream stream) throws IOException
ResourceContentAnnotatorafterAllResourcesInBatch in class ResourceContentAnnotatorIOExceptionpublic int beforeResource(LinkedHashSet<String> requiredResources, String url, Resource resource, OutputStream stream) throws IOException
ResourceContentAnnotatorbeforeResource in class ResourceContentAnnotatorIOExceptionpublic void afterResource(LinkedHashSet<String> requiredResources, String url, Resource resource, OutputStream stream) throws IOException
ResourceContentAnnotatorafterResource in class ResourceContentAnnotatorIOExceptionpublic int hashCode()
ResourceContentAnnotatorhashCode in class ResourceContentAnnotatorCopyright © 2017 Atlassian. All rights reserved.