public interface RepositoryAnnotator
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATOR_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Entity> |
annotate(Iterable<Entity> source) |
default Iterator<Entity> |
annotate(Iterable<Entity> source,
boolean updateMode) |
Iterator<Entity> |
annotate(Iterator<Entity> source) |
boolean |
annotationDataExists()
Checks if folder and files that were set with a runtime property actually exist, or if a webservice can be
reached
|
String |
canAnnotate(EntityType inputMetaData)
Returns null if the annotator will work for the given metadata, a reason if not so
|
List<Attribute> |
createAnnotatorAttributes(AttributeFactory attributeFactory) |
CmdLineAnnotatorSettingsConfigurer |
getCmdLineAnnotatorSettingsConfigurer() |
default String |
getDescription() |
String |
getFullName() |
AnnotatorInfo |
getInfo() |
List<Attribute> |
getOutputAttributes()
returns an EntityType containing the attributes the annotator will add
|
List<Attribute> |
getRequiredAttributes()
Returns a EntityType containing the attributes needed for the annotator to work
|
String |
getSimpleName()
Return the name of the annotator
|
static final String ANNOTATOR_PREFIX
AnnotatorInfo getInfo()
boolean annotationDataExists()
List<Attribute> getOutputAttributes()
List<Attribute> getRequiredAttributes()
String canAnnotate(EntityType inputMetaData)
String getSimpleName()
String getFullName()
CmdLineAnnotatorSettingsConfigurer getCmdLineAnnotatorSettingsConfigurer()
default String getDescription()
List<Attribute> createAnnotatorAttributes(AttributeFactory attributeFactory)
Copyright © 2017. All rights reserved.