Interface MigrationActivityMatcher

  • All Known Implementing Classes:
    DefaultMigrationActivityMatcher

    public interface MigrationActivityMatcher
    Check if two activities are equal in the context of the migration of two process definitions. It is required that the matcher for each activity of the source process definition at most one activity of the target process definition matches. For example the matching criterion should not be solely base on the activity name which is a non unique attribute.
    • Method Detail

      • matchActivities

        boolean matchActivities​(ActivityImpl source,
                                ActivityImpl target)
        Checks if an activity from the source process definition of a migration matches an activity from the target process definition.
        Parameters:
        source - the activity from the source process definition
        target - the activity from the target process definition
        Returns:
        true if the source activity matches the target activity in the context of the migration, false otherwise