Class MigrationPlanValidationReportImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.validation.instruction.MigrationPlanValidationReportImpl
-
- All Implemented Interfaces:
MigrationPlanValidationReport
public class MigrationPlanValidationReportImpl extends java.lang.Object implements MigrationPlanValidationReport
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<MigrationInstructionValidationReport>
instructionReports
protected MigrationPlan
migrationPlan
protected java.util.Map<java.lang.String,MigrationVariableValidationReport>
variableReports
-
Constructor Summary
Constructors Constructor Description MigrationPlanValidationReportImpl(MigrationPlan migrationPlan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInstructionReport(MigrationInstructionValidationReport instructionReport)
void
addVariableReport(java.lang.String variableName, MigrationVariableValidationReport variableReport)
java.util.List<MigrationInstructionValidationReport>
getInstructionReports()
MigrationPlan
getMigrationPlan()
java.util.Map<java.lang.String,MigrationVariableValidationReport>
getVariableReports()
boolean
hasInstructionReports()
boolean
hasReports()
boolean
hasVariableReports()
void
writeTo(java.lang.StringBuilder sb)
-
-
-
Field Detail
-
migrationPlan
protected MigrationPlan migrationPlan
-
instructionReports
protected java.util.List<MigrationInstructionValidationReport> instructionReports
-
variableReports
protected java.util.Map<java.lang.String,MigrationVariableValidationReport> variableReports
-
-
Constructor Detail
-
MigrationPlanValidationReportImpl
public MigrationPlanValidationReportImpl(MigrationPlan migrationPlan)
-
-
Method Detail
-
getMigrationPlan
public MigrationPlan 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
public void addInstructionReport(MigrationInstructionValidationReport instructionReport)
-
addVariableReport
public void addVariableReport(java.lang.String variableName, MigrationVariableValidationReport variableReport)
-
hasInstructionReports
public boolean hasInstructionReports()
- Specified by:
hasInstructionReports
in interfaceMigrationPlanValidationReport
- Returns:
- true if instructions reports exist, false otherwise
-
getInstructionReports
public java.util.List<MigrationInstructionValidationReport> 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
public java.util.Map<java.lang.String,MigrationVariableValidationReport> getVariableReports()
- Specified by:
getVariableReports
in interfaceMigrationPlanValidationReport
- Returns:
- all variable reports
-
writeTo
public void writeTo(java.lang.StringBuilder sb)
-
-