public class MigrationReportImpl extends Object implements MigrationReport, Serializable
Constructor and Description |
---|
MigrationReportImpl(Long processInstanceId,
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
|
Long |
getProcessInstanceId()
Returns process instance id that was migrated
|
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 |
setProcessInstanceId(Long processInstanceId) |
void |
setStartDate(Date startDate) |
void |
setSuccessful(boolean successful) |
public MigrationReportImpl(Long processInstanceId, 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 Long getProcessInstanceId()
MigrationReport
getProcessInstanceId
in interface MigrationReport
public void setProcessInstanceId(Long processInstanceId)
public List<MigrationEntry> getEntries()
MigrationReport
getEntries
in interface MigrationReport
public void setEntries(List<MigrationEntry> entries)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.