public class RepositoryAnnotatorImpl extends AbstractRepositoryEntityAnnotator
ANNOTATOR_PREFIX| Constructor and Description |
|---|
RepositoryAnnotatorImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
annotateEntity(Entity entity,
boolean updateMode) |
boolean |
annotationDataExists()
Checks if folder and files that were set with a runtime property actually exist, or if a webservice can be
reached
|
List<Attribute> |
createAnnotatorAttributes(AttributeFactory attributeFactory) |
CmdLineAnnotatorSettingsConfigurer |
getCmdLineAnnotatorSettingsConfigurer() |
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
|
void |
init(EntityAnnotator entityAnnotator) |
annotate, annotateannotate, canAnnotate, getDescription, getFullNamepublic RepositoryAnnotatorImpl(String name)
public void init(EntityAnnotator entityAnnotator)
public List<Attribute> getOutputAttributes()
RepositoryAnnotatorpublic List<Attribute> getRequiredAttributes()
RepositoryAnnotatorpublic String getSimpleName()
RepositoryAnnotatorpublic boolean annotationDataExists()
RepositoryAnnotatorpublic List<Entity> annotateEntity(Entity entity, boolean updateMode) throws IOException, InterruptedException
annotateEntity in class AbstractRepositoryEntityAnnotatorIOExceptionInterruptedExceptionpublic AnnotatorInfo getInfo()
public CmdLineAnnotatorSettingsConfigurer getCmdLineAnnotatorSettingsConfigurer()
public List<Attribute> createAnnotatorAttributes(AttributeFactory attributeFactory)
Copyright © 2017. All rights reserved.