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