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:StepConditionMatcher
Checks whether the condition matches the input value- Specified by:
matches
in 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
-
-