Class ValidatingMigrationInstructions
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.validation.instruction.ValidatingMigrationInstructions
-
public class ValidatingMigrationInstructions extends Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<ValidatingMigrationInstruction>
instructions
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>>
instructionsBySourceScope
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>>
instructionsByTargetScope
-
Constructor Summary
Constructors Constructor Description ValidatingMigrationInstructions()
ValidatingMigrationInstructions(Collection<ValidatingMigrationInstruction> instructions)
-
Method Summary
-
-
-
Field Detail
-
instructions
protected Collection<ValidatingMigrationInstruction> instructions
-
instructionsBySourceScope
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>> instructionsBySourceScope
-
instructionsByTargetScope
protected Map<ScopeImpl,List<ValidatingMigrationInstruction>> instructionsByTargetScope
-
-
Constructor Detail
-
ValidatingMigrationInstructions
public ValidatingMigrationInstructions(Collection<ValidatingMigrationInstruction> instructions)
-
ValidatingMigrationInstructions
public ValidatingMigrationInstructions()
-
-
Method Detail
-
addInstruction
public void addInstruction(ValidatingMigrationInstruction instruction)
-
addAll
public void addAll(List<ValidatingMigrationInstruction> instructions)
-
indexInstruction
protected void indexInstruction(ValidatingMigrationInstruction instruction)
-
getInstructions
public List<ValidatingMigrationInstruction> getInstructions()
-
getInstructionsBySourceScope
public List<ValidatingMigrationInstruction> getInstructionsBySourceScope(ScopeImpl scope)
-
getInstructionsByTargetScope
public List<ValidatingMigrationInstruction> getInstructionsByTargetScope(ScopeImpl scope)
-
filterWith
public void filterWith(List<MigrationInstructionValidator> validators)
-
asMigrationInstructions
public List<MigrationInstruction> asMigrationInstructions()
-
contains
public boolean contains(ValidatingMigrationInstruction instruction)
-
containsInstructionForSourceScope
public boolean containsInstructionForSourceScope(ScopeImpl sourceScope)
-
isValidInstruction
protected boolean isValidInstruction(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, List<MigrationInstructionValidator> migrationInstructionValidators)
-
validateInstruction
protected MigrationInstructionValidationReportImpl validateInstruction(ValidatingMigrationInstruction instruction, ValidatingMigrationInstructions instructions, List<MigrationInstructionValidator> migrationInstructionValidators)
-
-