public class MigrationReportImpl extends Object implements MigrationReport, Serializable
Constructor and Description |
---|
MigrationReportImpl(boolean successful,
Date startDate,
Date endDate,
List<MigrationEntry> entries) |
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
Timestamp representing end time of the migration
|
List<MigrationEntry> |
getEntries()
Returns complete list of migration entries (steps performed) with details about them
|
Date |
getStartDate()
Timestamp representing start time of the migration
|
boolean |
isSuccessful()
Indicates if the migration was successful or not
|
void |
setEndDate(Date endDate) |
void |
setEntries(List<MigrationEntry> entries) |
void |
setStartDate(Date startDate) |
void |
setSuccessful(boolean successful) |
public MigrationReportImpl(boolean successful, Date startDate, Date endDate, List<MigrationEntry> entries)
public boolean isSuccessful()
MigrationReport
isSuccessful
in interface MigrationReport
public void setSuccessful(boolean successful)
public Date getStartDate()
MigrationReport
getStartDate
in interface MigrationReport
public void setStartDate(Date startDate)
public Date getEndDate()
MigrationReport
getEndDate
in interface MigrationReport
public void setEndDate(Date endDate)
public List<MigrationEntry> getEntries()
MigrationReport
getEntries
in interface MigrationReport
public void setEntries(List<MigrationEntry> entries)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.