liquibase.hub.model.Operation 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.
package liquibase.hub.model;
import java.util.Date;
import java.util.Map;
import java.util.UUID;
public class Operation implements HubModel {
private UUID id;
private Connection connection;
private OperationStatus operationStatus;
private Map clientMetadata;
private Map parameters;
private Date createDate;
private Date removeDate;
@Override
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public Connection getConnection() {
return connection;
}
public void setConnection(Connection connection) {
this.connection = connection;
}
public OperationStatus getOperationStatus() {
return operationStatus;
}
public void setOperationStatus(OperationStatus operationStatus) {
this.operationStatus = operationStatus;
}
public Map getClientMetadata() {
return clientMetadata;
}
public void setClientMetadata(Map clientMetadata) {
this.clientMetadata = clientMetadata;
}
public Map getParameters() {
return parameters;
}
public void setParameters(Map parameters) {
this.parameters = parameters;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public Date getRemoveDate() {
return removeDate;
}
public void setRemoveDate(Date removeDate) {
this.removeDate = removeDate;
}
public static class OperationStatus {
private UUID id;
private String statusMessage;
private String operationStatusType;
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public String getStatusMessage() {
return statusMessage;
}
public void setStatusMessage(String statusMessage) {
this.statusMessage = statusMessage;
}
public String getOperationStatusType() {
return operationStatusType;
}
public void setOperationStatusType(String operationStatusType) {
this.operationStatusType = operationStatusType;
}
}
}