Interface StepConditionMatcher

All Known Implementing Classes:
InstanceStepConditionMatcher, ReflectionBasedStepConditionMatcher

public interface StepConditionMatcher
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(Class<? extends Predicate<Object>> condition, Object value)
    Checks whether the condition matches the input value
  • Method Details

    • matches

      boolean matches(Class<? extends Predicate<Object>> condition, Object value) throws StepConditionMatchException
      Checks whether the condition matches the input value
      Parameters:
      condition - a class with the implementation of the condition
      value - the argument to be matched against the condition
      Returns:
      the condition evaluation result
      Throws:
      StepConditionMatchException - if any error during match process occur