Package org.openl.rules.cmatch.matcher
Class EnumMatchMatcher
- java.lang.Object
-
- org.openl.rules.cmatch.matcher.EnumMatchMatcher
-
-
Constructor Summary
Constructors Constructor Description EnumMatchMatcher(Class<?> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectfromString(String checkValue)Parse matching object from string.booleanmatch(Object var, Object checkValue)Check whether actual value and check value are match or satisfy matching operation.
-
-
-
Constructor Detail
-
EnumMatchMatcher
public EnumMatchMatcher(Class<?> clazz)
-
-
Method Detail
-
fromString
public Object fromString(String checkValue)
Description copied from interface:IMatcherParse matching object from string.Note that type of return value can depend on format of checkValue. For example, it can be Integer or IntRange.
- Specified by:
fromStringin interfaceIMatcher- Parameters:
checkValue- string value of a cell- Returns:
- matching value
-
-