Class MigratingTransitionInstanceValidationReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instance.MigratingTransitionInstanceValidationReportImpl
- All Implemented Interfaces:
MigratingTransitionInstanceValidationReport
public class MigratingTransitionInstanceValidationReportImpl
extends Object
implements MigratingTransitionInstanceValidationReport
-
Field Summary
Modifier and TypeFieldDescriptionprotected MigrationInstruction
protected String
protected String
-
Constructor Summary
ConstructorDescriptionMigratingTransitionInstanceValidationReportImpl
(MigratingTransitionInstance migratingTransitionInstance) -
Method Summary
-
Field Details
-
transitionInstanceId
-
sourceScopeId
-
migrationInstruction
-
failures
-
-
Constructor Details
-
MigratingTransitionInstanceValidationReportImpl
public MigratingTransitionInstanceValidationReportImpl(MigratingTransitionInstance migratingTransitionInstance)
-
-
Method Details
-
getSourceScopeId
- Specified by:
getSourceScopeId
in interfaceMigratingTransitionInstanceValidationReport
- Returns:
- the id of the source scope of the migrating transition instance
-
getTransitionInstanceId
- Specified by:
getTransitionInstanceId
in interfaceMigratingTransitionInstanceValidationReport
- Returns:
- the transition instance id of this report
-
getMigrationInstruction
- Specified by:
getMigrationInstruction
in interfaceMigratingTransitionInstanceValidationReport
- Returns:
- the migration instruction that cannot be applied
-
addFailure
-
hasFailures
public boolean hasFailures()- Specified by:
hasFailures
in interfaceMigratingTransitionInstanceValidationReport
- Returns:
- true if the reports contains failures, false otherwise
-
getFailures
- Specified by:
getFailures
in interfaceMigratingTransitionInstanceValidationReport
- Returns:
- the list of failures
-