Java 类org.springframework.boot.actuate.endpoint.FlywayEndpoint.FlywayMigration 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:FlywayEndpoint.java   
@Override
public List<FlywayMigration> invoke() {
    List<FlywayMigration> migrations = new ArrayList<FlywayMigration>();
    for (MigrationInfo info : this.flyway.info().all()) {
        migrations.add(new FlywayMigration(info));
    }
    return migrations;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:FlywayEndpoint.java   
public FlywayMigration(MigrationInfo info) {
    this.type = info.getType();
    this.checksum = info.getChecksum();
    this.version = nullSafeToString(info.getVersion());
    this.description = info.getDescription();
    this.script = info.getScript();
    this.state = info.getState();
    this.installedOn = info.getInstalledOn();
    this.executionTime = info.getExecutionTime();
}
项目:spring-boot-concourse    文件:FlywayEndpoint.java   
@Override
public List<FlywayMigration> invoke() {
    List<FlywayMigration> migrations = new ArrayList<FlywayMigration>();
    for (MigrationInfo info : this.flyway.info().all()) {
        migrations.add(new FlywayMigration(info));
    }
    return migrations;
}
项目:spring-boot-concourse    文件:FlywayEndpoint.java   
public FlywayMigration(MigrationInfo info) {
    this.type = info.getType();
    this.checksum = info.getChecksum();
    this.version = nullSafeToString(info.getVersion());
    this.description = info.getDescription();
    this.script = info.getScript();
    this.state = info.getState();
    this.installedOn = info.getInstalledOn();
    this.executionTime = info.getExecutionTime();
}
项目:contestparser    文件:FlywayEndpoint.java   
@Override
public List<FlywayMigration> invoke() {
    List<FlywayMigration> migrations = new ArrayList<FlywayMigration>();
    for (MigrationInfo info : this.flyway.info().all()) {
        migrations.add(new FlywayMigration(info));
    }
    return migrations;
}
项目:contestparser    文件:FlywayEndpoint.java   
public FlywayMigration(MigrationInfo info) {
    this.type = info.getType();
    this.checksum = info.getChecksum();
    this.version = info.getVersion().toString();
    this.description = info.getDescription();
    this.script = info.getScript();
    this.state = info.getState();
    this.installedOn = info.getInstalledOn();
    this.executionTime = info.getExecutionTime();
}