liquibase.report.RuntimeInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
package liquibase.report;
import liquibase.util.LiquibaseUtil;
import liquibase.util.NetUtil;
import liquibase.util.SystemUtil;
import lombok.Data;
import org.apache.commons.lang3.SystemProperties;
@Data
public class RuntimeInfo {
private final String systemUsername = SystemProperties.getUserName();
private final String hostname = NetUtil.getLocalHostName();
private final String os = System.getProperty("os.name");
private String interfaceType;
private String startTime;
private String updateDuration;
private final String liquibaseVersion = LiquibaseUtil.getBuildVersionInfo();
private String javaVersion = SystemUtil.getJavaVersion();
}