Class BasicConfiguredAtlasChangeGenerator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Function<org.openstreetmap.atlas.geography.atlas.Atlas,​java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>, org.openstreetmap.atlas.geography.atlas.change.AtlasChangeGenerator, org.openstreetmap.atlas.utilities.conversion.Converter<org.openstreetmap.atlas.geography.atlas.Atlas,​java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>

    public class BasicConfiguredAtlasChangeGenerator
    extends ConfiguredAtlasChangeGenerator
    Class allowing a non-configured AtlasChangeGenerator to be treated as a ConfiguredAtlasChangeGenerator with default configuration.
    See Also:
    Serialized Form
    • Constructor Detail

      • BasicConfiguredAtlasChangeGenerator

        public BasicConfiguredAtlasChangeGenerator​(java.lang.String name,
                                                   org.openstreetmap.atlas.geography.atlas.change.AtlasChangeGenerator source,
                                                   org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
    • Method Detail

      • noOp

        public static BasicConfiguredAtlasChangeGenerator noOp​(java.lang.String name,
                                                               org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
        Parameters:
        name - The name of the AtlasChangeGenerator
        configuration - The configuration where the name can be found
        Returns:
        A no-operation BasicConfiguredAtlasChangeGenerator that still parsed the configuration and adopted the given name, so it can be used to determine if a not-found AtlasChangeGenerator was configured as disabled for example.
      • generate

        public java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange> generate​(org.openstreetmap.atlas.geography.atlas.Atlas atlas)
        Specified by:
        generate in interface org.openstreetmap.atlas.geography.atlas.change.AtlasChangeGenerator
        Overrides:
        generate in class ConfiguredAtlasChangeGenerator
      • generateWithoutValidation

        public java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange> generateWithoutValidation​(org.openstreetmap.atlas.geography.atlas.Atlas atlas)