Class EnrichWithGeoNames.Settings

  • All Implemented Interfaces:
    io.annot8.api.settings.Settings
    Enclosing class:
    EnrichWithGeoNames

    public static class EnrichWithGeoNames.Settings
    extends Object
    implements io.annot8.api.settings.Settings
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • validate

        public boolean validate()
        Specified by:
        validate in interface io.annot8.api.settings.Settings
      • getGeonamesFile

        @Description("Location of the GeoNames data file")
        public File getGeonamesFile()
      • setGeonamesFile

        public void setGeonamesFile​(File geonamesFile)
      • getProperties

        @Description(value="Which fields from the GeoNames data should be added to annotations",
                     defaultValue="BASIC")
        public GeoNamesAdditionalProperties getProperties()
      • isGeoJson

        @Description(value="Add GeoJSON to the annotation",
                     defaultValue="true")
        public boolean isGeoJson()
      • setGeoJson

        public void setGeoJson​(boolean geoJson)