Class LeafConditionService

    • Constructor Detail

      • LeafConditionService

        public LeafConditionService()
    • Method Detail

      • evaluate

        public boolean evaluate​(LeafCondition condition,
                                org.eclipse.emf.ecore.EObject domainModel)
        Description copied from interface: ConditionService
        Evaluates the given condition.
        Specified by:
        evaluate in interface ConditionService<LeafCondition>
        Parameters:
        condition - The Condition to evaluate
        domainModel - The root domain object of this condition.
        Returns:
        true, if the condition matches, false otherwise
      • evaluateChangedValues

        public boolean evaluateChangedValues​(LeafCondition condition,
                                             org.eclipse.emf.ecore.EObject domainModel,
                                             java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,​java.lang.Object> possibleNewValues)
        Description copied from interface: ConditionService
        Evaluates the given condition.
        Specified by:
        evaluateChangedValues in interface ConditionService<LeafCondition>
        Parameters:
        condition - The Condition to evaluate
        domainModel - The root domain object of this condition.
        possibleNewValues - the new value that should be compared against the expected value of the condition
        Returns:
        true, if the condition matches, false otherwise