@Entity public class Migration extends Object implements Serializable
Constructor and Description |
---|
Migration() |
Migration(MigrationDefinition definition) |
Modifier and Type | Method and Description |
---|---|
Migration |
cancel() |
Migration |
complete(Boolean hasErrors) |
Migration |
fail(Exception e) |
Instant |
getCancelledAt() |
Instant |
getCreatedAt() |
MigrationDefinition |
getDefinition() |
String |
getErrorMessage() |
Instant |
getFinishedAt() |
Long |
getId() |
List<MigrationReport> |
getReports() |
Instant |
getStartedAt() |
Execution.ExecutionStatus |
getStatus() |
void |
setCancelledAt(Instant cancelledAt) |
void |
setCreatedAt(Instant createdAt) |
void |
setDefinition(MigrationDefinition definition) |
void |
setErrorMessage(String errorMessage) |
void |
setFinishedAt(Instant finishedAt) |
void |
setId(Long id) |
void |
setReports(List<MigrationReport> reports) |
void |
setStartedAt(Instant startedAt) |
void |
setStatus(Execution.ExecutionStatus status) |
Migration |
start() |
public Migration()
public Migration(MigrationDefinition definition)
public Long getId()
public void setId(Long id)
public MigrationDefinition getDefinition()
public void setDefinition(MigrationDefinition definition)
public Execution.ExecutionStatus getStatus()
public void setStatus(Execution.ExecutionStatus status)
public Instant getCreatedAt()
public void setCreatedAt(Instant createdAt)
public Instant getStartedAt()
public void setStartedAt(Instant startedAt)
public Instant getFinishedAt()
public void setFinishedAt(Instant finishedAt)
public Instant getCancelledAt()
public void setCancelledAt(Instant cancelledAt)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public List<MigrationReport> getReports()
public void setReports(List<MigrationReport> reports)
public Migration start()
public Migration cancel()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.