Module io.annot8.components.files
Package io.annot8.components.files.sinks
Class AnnotationsToTextFile.Settings
- java.lang.Object
-
- io.annot8.components.files.sinks.AnnotationsToTextFile.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- AnnotationsToTextFile
public static class AnnotationsToTextFile.Settings extends Object implements io.annot8.api.settings.Settings
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAnnotationTypes()PathgetOutputFile()booleanisDeduplicate()booleanisDeleteOnStart()voidsetAnnotationTypes(List<String> annotationTypes)voidsetDeduplicate(boolean deduplicate)voidsetDeleteOnStart(boolean deleteOnStart)voidsetOutputFile(Path outputFile)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getOutputFile
@Description("The file to output annotation values into") public Path getOutputFile()
-
setOutputFile
public void setOutputFile(Path outputFile)
-
isDeleteOnStart
@Description("If true, the output file will be deleted when the pipeline first runs") public boolean isDeleteOnStart()
-
setDeleteOnStart
public void setDeleteOnStart(boolean deleteOnStart)
-
isDeduplicate
@Description("If true, then only unique values will be added to the file") public boolean isDeduplicate()
-
setDeduplicate
public void setDeduplicate(boolean deduplicate)
-
getAnnotationTypes
@Description("A list of annotation types to process, or leave empty to process all annotations") public List<String> getAnnotationTypes()
-
-