Interface TextMatchingStrategy
-
- All Superinterfaces:
MatchingStrategy
public interface TextMatchingStrategy extends MatchingStrategy
The Interface MatchingStrategy.- Author:
- Arun Bose
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTextMatchingStrategy.NormalizeFunction
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default intmatch(Map<String,String> reqValues, Map<String,String> entityValues, Map<String,Object> matchProperties)this method matches the request Values with entity values.static intnormalizeAndMatch(Object reqInfo, Object entityInfo, Map<String,Object> props, TextMatchingStrategy.NormalizeFunction normalizeFunction, BiFunction<String,String,Integer> matchFunction)-
Methods inherited from interface io.mosip.authentication.core.spi.indauth.match.MatchingStrategy
getMatchFunction, getMatchingStrategy, getType
-
-
-
-
Method Detail
-
match
default int match(Map<String,String> reqValues, Map<String,String> entityValues, Map<String,Object> matchProperties) throws IdAuthenticationBusinessException
Description copied from interface:MatchingStrategythis method matches the request Values with entity values.- Specified by:
matchin interfaceMatchingStrategy- Parameters:
reqValues- the req valuesentityValues- the entity valuesmatchProperties- the match properties- Returns:
- the int
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-
normalizeAndMatch
static int normalizeAndMatch(Object reqInfo, Object entityInfo, Map<String,Object> props, TextMatchingStrategy.NormalizeFunction normalizeFunction, BiFunction<String,String,Integer> matchFunction) throws IdAuthenticationBusinessException
-
-