Package org.jbehave.core.condition
Class ReflectionBasedStepConditionMatcher
java.lang.Object
org.jbehave.core.condition.ReflectionBasedStepConditionMatcher
- All Implemented Interfaces:
StepConditionMatcher
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ReflectionBasedStepConditionMatcher
public ReflectionBasedStepConditionMatcher()
-
-
Method Details
-
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
-