Class MigrationPlanValidationReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instruction.MigrationPlanValidationReportImpl
- All Implemented Interfaces:
MigrationPlanValidationReport
public class MigrationPlanValidationReportImpl
extends Object
implements MigrationPlanValidationReport
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<MigrationInstructionValidationReport>
protected MigrationPlan
protected Map<String,
MigrationVariableValidationReport> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInstructionReport
(MigrationInstructionValidationReport instructionReport) void
addVariableReport
(String variableName, MigrationVariableValidationReport variableReport) boolean
boolean
boolean
void
writeTo
(StringBuilder sb)
-
Field Details
-
migrationPlan
-
instructionReports
-
variableReports
-
-
Constructor Details
-
MigrationPlanValidationReportImpl
-
-
Method Details
-
getMigrationPlan
- Specified by:
getMigrationPlan
in interfaceMigrationPlanValidationReport
- Returns:
- the migration plan of the validation report
-
hasReports
public boolean hasReports()- Specified by:
hasReports
in interfaceMigrationPlanValidationReport
- Returns:
true
if either instruction or variable reports exist,false
otherwise
-
addInstructionReport
-
addVariableReport
public void addVariableReport(String variableName, MigrationVariableValidationReport variableReport) -
hasInstructionReports
public boolean hasInstructionReports()- Specified by:
hasInstructionReports
in interfaceMigrationPlanValidationReport
- Returns:
- true if instructions reports exist, false otherwise
-
getInstructionReports
- Specified by:
getInstructionReports
in interfaceMigrationPlanValidationReport
- Returns:
- all instruction reports
-
hasVariableReports
public boolean hasVariableReports()- Specified by:
hasVariableReports
in interfaceMigrationPlanValidationReport
- Returns:
true
if variable reports exist,false
otherwise
-
getVariableReports
- Specified by:
getVariableReports
in interfaceMigrationPlanValidationReport
- Returns:
- all variable reports
-
writeTo
-