Class SupportedPassiveEventTriggerActivityValidator

java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.activity.SupportedPassiveEventTriggerActivityValidator
All Implemented Interfaces:
MigrationActivityValidator

public class SupportedPassiveEventTriggerActivityValidator extends Object implements MigrationActivityValidator
Validator for events that passively wait for an event, i.e. without being activated by sequence flow (e.g. boundary events and event subprocess start events but not intermediate catch events).
Author:
Thorben Lindhauer
  • Field Details

  • Constructor Details

    • SupportedPassiveEventTriggerActivityValidator

      public SupportedPassiveEventTriggerActivityValidator()
  • Method Details

    • valid

      public boolean valid(ActivityImpl activity)
      Description copied from interface: MigrationActivityValidator
      Check that an activity can be migrated.
      Specified by:
      valid in interface MigrationActivityValidator
      Parameters:
      activity - the activity to migrate
      Returns:
      true if the activity can be migrated, false otherwise
    • isPassivelyWaitingEvent

      public boolean isPassivelyWaitingEvent(ActivityImpl activity)
    • isSupportedEventType

      public boolean isSupportedEventType(ActivityImpl activity)