Class SameActivityCombinationGuard

  • All Implemented Interfaces:
    CombinationGuard

    public class SameActivityCombinationGuard
    extends SimpleCombinationGuard
    Checks whether the local process model and the place have at least one same activity
    • Constructor Detail

      • SameActivityCombinationGuard

        public SameActivityCombinationGuard()
    • Method Detail

      • satisfies

        public boolean satisfies​(LocalProcessModel lpm1,
                                 LocalProcessModel lpm2)
        Description copied from interface: CombinationGuard
        Checks if the two lpms satisfy the guard condition
        Parameters:
        lpm1 - : the first local process model that we need to combine
        lpm2 - : the first local process model that we need to combine
        Returns:
        whether the guard is satisfied