Package org.jbpm.kie.services.impl.admin
Class MigrationReportImpl
- java.lang.Object
-
- org.jbpm.kie.services.impl.admin.MigrationReportImpl
-
- All Implemented Interfaces:
Serializable
,MigrationReport
public class MigrationReportImpl extends Object implements MigrationReport, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MigrationReportImpl(Long processInstanceId, boolean successful, Date startDate, Date endDate, List<MigrationEntry> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getEndDate()
Timestamp representing end time of the migrationList<MigrationEntry>
getEntries()
Returns complete list of migration entries (steps performed) with details about themLong
getProcessInstanceId()
Returns process instance id that was migratedDate
getStartDate()
Timestamp representing start time of the migrationboolean
isSuccessful()
Indicates if the migration was successful or notvoid
setEndDate(Date endDate)
void
setEntries(List<MigrationEntry> entries)
void
setProcessInstanceId(Long processInstanceId)
void
setStartDate(Date startDate)
void
setSuccessful(boolean successful)
-
-
-
Constructor Detail
-
MigrationReportImpl
public MigrationReportImpl(Long processInstanceId, boolean successful, Date startDate, Date endDate, List<MigrationEntry> entries)
-
-
Method Detail
-
isSuccessful
public boolean isSuccessful()
Description copied from interface:MigrationReport
Indicates if the migration was successful or not- Specified by:
isSuccessful
in interfaceMigrationReport
- Returns:
- migration success
-
setSuccessful
public void setSuccessful(boolean successful)
-
getStartDate
public Date getStartDate()
Description copied from interface:MigrationReport
Timestamp representing start time of the migration- Specified by:
getStartDate
in interfaceMigrationReport
- Returns:
- migration start time
-
setStartDate
public void setStartDate(Date startDate)
-
getEndDate
public Date getEndDate()
Description copied from interface:MigrationReport
Timestamp representing end time of the migration- Specified by:
getEndDate
in interfaceMigrationReport
- Returns:
- migration end time
-
setEndDate
public void setEndDate(Date endDate)
-
getProcessInstanceId
public Long getProcessInstanceId()
Description copied from interface:MigrationReport
Returns process instance id that was migrated- Specified by:
getProcessInstanceId
in interfaceMigrationReport
- Returns:
- process instance id
-
setProcessInstanceId
public void setProcessInstanceId(Long processInstanceId)
-
getEntries
public List<MigrationEntry> getEntries()
Description copied from interface:MigrationReport
Returns complete list of migration entries (steps performed) with details about them- Specified by:
getEntries
in interfaceMigrationReport
- Returns:
- migration entries
-
setEntries
public void setEntries(List<MigrationEntry> entries)
-
-