Class MigratingProcessInstanceValidationReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instance.MigratingProcessInstanceValidationReportImpl
- All Implemented Interfaces:
MigratingProcessInstanceValidationReport
public class MigratingProcessInstanceValidationReportImpl
extends Object
implements MigratingProcessInstanceValidationReport
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<MigratingActivityInstanceValidationReport>
protected String
protected List<MigratingTransitionInstanceValidationReport>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addActivityInstanceReport
(MigratingActivityInstanceValidationReport instanceReport) void
addFailure
(String failure) void
boolean
void
setProcessInstanceId
(String processInstanceId) void
writeTo
(StringBuilder sb)
-
Field Details
-
processInstanceId
-
activityInstanceReports
-
transitionInstanceReports
-
failures
-
-
Constructor Details
-
MigratingProcessInstanceValidationReportImpl
public MigratingProcessInstanceValidationReportImpl()
-
-
Method Details
-
getProcessInstanceId
- Specified by:
getProcessInstanceId
in interfaceMigratingProcessInstanceValidationReport
- Returns:
- the id of the process instance that the migration plan is applied to
-
setProcessInstanceId
-
addActivityInstanceReport
-
addTransitionInstanceReport
-
getActivityInstanceReports
- Specified by:
getActivityInstanceReports
in interfaceMigratingProcessInstanceValidationReport
- Returns:
- the list of activity instance validation reports
-
getTransitionInstanceReports
- Specified by:
getTransitionInstanceReports
in interfaceMigratingProcessInstanceValidationReport
- Returns:
- the list of transition instance validation reports
-
addFailure
-
getFailures
- Specified by:
getFailures
in interfaceMigratingProcessInstanceValidationReport
- Returns:
- the list of general failures of the migrating process instance
-
hasFailures
public boolean hasFailures()- Specified by:
hasFailures
in interfaceMigratingProcessInstanceValidationReport
- Returns:
- true if general failures or activity instance validation reports exist, false otherwise
-
writeTo
-