Class SupportedActivityValidator

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

public class SupportedActivityValidator extends Object implements MigrationActivityValidator
*Supported* refers to whether an activity instance of a certain activity type can be migrated. This validator is irrelevant for transition instances which can be migrated at any activity type. Thus, this validator is only used during migration instruction generation and migrating activity instance validation, not during migration instruction validation.
  • Field Details

  • Constructor Details

    • SupportedActivityValidator

      public SupportedActivityValidator()
  • 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
    • isSupportedActivity

      public boolean isSupportedActivity(ActivityImpl activity)
    • isAsync

      protected boolean isAsync(ActivityImpl activity)