Class EnterpriseGeoIpTask

java.lang.Object
org.elasticsearch.ingest.EnterpriseGeoIpTask

public final class EnterpriseGeoIpTask extends Object
As a relatively minor hack, this class holds the string constant that defines both the id and the name of the task for the new ip geolocation database downloader feature. It also provides the PersistentTaskParams that are necessary to start the task and to run it.

Defining this in Elasticsearch itself gives us a reasonably tidy version of things where we don't end up with strange inter-module dependencies. It's not ideal, but it works fine.