liquibase.integration.IntegrationDetails 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.integration;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.HashMap;
import java.util.Map;
/**
* Stores information about the integration running Liquibase.
*/
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class IntegrationDetails {
/**
* A name which defines what integration is executing Liquibase. An example might be "cli" or "maven". This is not
* representative of the environnment that Liquibase is executing inside of, so "docker" would not be a valid name.
*/
private String name;
private final Map parameters = new HashMap<>();
public void setParameter(String key, String value) {
this.parameters.put(key, value);
}
}