Class MigratingActivityInstanceValidationReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instance.MigratingActivityInstanceValidationReportImpl
- All Implemented Interfaces:
MigratingActivityInstanceValidationReport
public class MigratingActivityInstanceValidationReportImpl
extends Object
implements MigratingActivityInstanceValidationReport
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected MigrationInstruction
protected String
-
Constructor Summary
ConstructorDescriptionMigratingActivityInstanceValidationReportImpl
(MigratingActivityInstance migratingActivityInstance) -
Method Summary
-
Field Details
-
activityInstanceId
-
sourceScopeId
-
migrationInstruction
-
failures
-
-
Constructor Details
-
MigratingActivityInstanceValidationReportImpl
public MigratingActivityInstanceValidationReportImpl(MigratingActivityInstance migratingActivityInstance)
-
-
Method Details
-
getSourceScopeId
- Specified by:
getSourceScopeId
in interfaceMigratingActivityInstanceValidationReport
- Returns:
- the id of the source scope of the migrated activity instance
-
getActivityInstanceId
- Specified by:
getActivityInstanceId
in interfaceMigratingActivityInstanceValidationReport
- Returns:
- the activity instance id of this report
-
getMigrationInstruction
- Specified by:
getMigrationInstruction
in interfaceMigratingActivityInstanceValidationReport
- Returns:
- the migration instruction that cannot be applied
-
addFailure
-
hasFailures
public boolean hasFailures()- Specified by:
hasFailures
in interfaceMigratingActivityInstanceValidationReport
- Returns:
- true if the reports contains failures, false otherwise
-
getFailures
- Specified by:
getFailures
in interfaceMigratingActivityInstanceValidationReport
- Returns:
- the list of failures
-