org.camunda.bpm.engine.impl.migration.validation.instruction
Class UpdateEventTriggersValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instruction.UpdateEventTriggersValidator
- All Implemented Interfaces:
- MigrationInstructionValidator
public class UpdateEventTriggersValidator
- extends Object
- implements MigrationInstructionValidator
Ensure that the option updateEventTriggers can only be used activities defining an event trigger
- Author:
- Thorben Lindhauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateEventTriggersValidator
public UpdateEventTriggersValidator()
validate
public void validate(ValidatingMigrationInstruction instruction,
ValidatingMigrationInstructions instructions,
MigrationInstructionValidationReportImpl report)
- Description copied from interface:
MigrationInstructionValidator
- Check that a migration instruction is valid for a migration plan. If it is invalid
a failure has to added to the validation report.
- Specified by:
validate in interface MigrationInstructionValidator
- Parameters:
instruction - the instruction to validateinstructions - the complete migration plan to validatereport - the validation report
definesPersistentEventTrigger
public static boolean definesPersistentEventTrigger(ActivityImpl activity)
Copyright © 2016 camunda services GmbH. All rights reserved.