Package org.jbehave.core.condition
Class ReflectionBasedStepConditionMatcher
- java.lang.Object
-
- org.jbehave.core.condition.ReflectionBasedStepConditionMatcher
-
- All Implemented Interfaces:
StepConditionMatcher
public class ReflectionBasedStepConditionMatcher extends Object implements StepConditionMatcher
-
-
Method Detail
-
matches
public boolean matches(Class<? extends Predicate<Object>> type, Object value) throws StepConditionMatchException
Description copied from interface:StepConditionMatcherChecks whether the condition matches the input value- Specified by:
matchesin interfaceStepConditionMatcher- Parameters:
type- a class with the implementation of the conditionvalue- the argument to be matched against the condition- Returns:
- the condition evaluation result
- Throws:
StepConditionMatchException- if any error during match process occur
-
-