Class TelemetryUtils

java.lang.Object
org.flywaydb.commandline.utils.TelemetryUtils

public class TelemetryUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getOldestMigration(List<org.flywaydb.core.api.output.InfoOutput> infos)
     
    static boolean
    isRedgateEmployee(org.flywaydb.core.internal.plugin.PluginRegister pluginRegister, org.flywaydb.core.api.configuration.Configuration configuration)
     
    static org.flywaydb.core.extensibility.RootTelemetryModel
    populateRootTelemetry(org.flywaydb.core.extensibility.RootTelemetryModel rootTelemetryModel, org.flywaydb.core.api.configuration.Configuration configuration, boolean isRedgateEmployee)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • populateRootTelemetry

      public static org.flywaydb.core.extensibility.RootTelemetryModel populateRootTelemetry(org.flywaydb.core.extensibility.RootTelemetryModel rootTelemetryModel, org.flywaydb.core.api.configuration.Configuration configuration, boolean isRedgateEmployee)
    • isRedgateEmployee

      public static boolean isRedgateEmployee(org.flywaydb.core.internal.plugin.PluginRegister pluginRegister, org.flywaydb.core.api.configuration.Configuration configuration)
    • getOldestMigration

      public static String getOldestMigration(List<org.flywaydb.core.api.output.InfoOutput> infos)
      Parameters:
      infos - a List of InfoOutput
      Returns:
      the oldest migration date as UTC String If no applied migration found, returns an empty string.