public class AnnotatorConfigurationImpl extends AbstractAdapterConfiguration implements AnnotatorConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected Constructor<? extends Annotator> |
constructor |
protected Object[] |
constructorArgs |
applicableForExperiment, couldBeCached, name| Constructor and Description |
|---|
AnnotatorConfigurationImpl(String annotatorName,
boolean couldBeCached,
Constructor<? extends Annotator> constructor,
Object[] constructorArgs,
ExperimentType applicableForExperiment) |
| Modifier and Type | Method and Description |
|---|---|
Annotator |
getAnnotator(ExperimentType experimentType)
Returns the annotator or null if the annotator can't be used for the
given
ExperimentType. |
protected Annotator |
loadAnnotator() |
String |
toString() |
compareTo, couldBeCached, getExperimentType, getName, isApplicableForExperiment, setCouldBeCached, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcouldBeCached, getExperimentType, getName, isApplicableForExperiment, setCouldBeCached, setNamecompareToprotected Constructor<? extends Annotator> constructor
protected Object[] constructorArgs
public AnnotatorConfigurationImpl(String annotatorName, boolean couldBeCached, Constructor<? extends Annotator> constructor, Object[] constructorArgs, ExperimentType applicableForExperiment)
public Annotator getAnnotator(ExperimentType experimentType) throws GerbilException
AnnotatorConfigurationExperimentType.getAnnotator in interface AnnotatorConfigurationGerbilException - if an error occurs while loading the annotatorCopyright © 2014–2017. All rights reserved.