Class LegacyAlertConditionMigrator

java.lang.Object
org.graylog.events.legacy.LegacyAlertConditionMigrator

public class LegacyAlertConditionMigrator extends Object
Takes care of migrating legacy alert condition and alarm callback configurations to new event definitions and notification configurations. This class is deliberately avoiding the usage of the legacy Java classes by using the raw MongoDB client so we can safely delete the legacy classes at one point and still run the migrations.