public interface IMatchStrategy
Modifier and Type | Field and Description |
---|---|
static MatchMode |
DEFAULT_COLLECTION_MATCH_MODE |
static MatchMode |
DEFAULT_MATCH_MATCH_MODE |
static MatchMode |
DEFAULT_MATCH_MODE |
Modifier and Type | Method and Description |
---|---|
Matching |
getMatching()
Returns the Matching of this match strategy
|
<T extends IMatchable> |
invoke(T matchFirst,
T matchSecond)
Invokes the match check.
|
<T extends IMatchable> |
invoke(T matchFirst,
T matchSecond,
boolean failAll) |
<T extends IMatchable> |
invoke(T matchFirst,
T matchSecond,
MatchResult matchResult,
boolean failAll) |
void |
setMatchMode(java.lang.String propertyName,
MatchMode matchMode)
Sets the match mode for property propertyName
|
void |
setMatchMode(java.lang.String propertyName,
MatchMode matchMode,
IMatchStrategy matchStrategy)
Sets the match mode for property propertyName using the given match strategy.
|
static final MatchMode DEFAULT_MATCH_MODE
static final MatchMode DEFAULT_COLLECTION_MATCH_MODE
static final MatchMode DEFAULT_MATCH_MATCH_MODE
void setMatchMode(java.lang.String propertyName, MatchMode matchMode) throws MatchException
propertyName
- mergeMode
- MatchException
#setMatchMode(String, MatchMode, IMatchStrategy)}
void setMatchMode(java.lang.String propertyName, MatchMode matchMode, IMatchStrategy matchStrategy) throws MatchException
match mode
is none of
the 4 MATCH* match modes like MatchMode.MATCH
or MatchMode.MATCH_REQUIRED
.propertyName
- matchStrategy
- MatchException
#setMatchMode(String, MatchMode)}
<T extends IMatchable> MatchResult invoke(T matchFirst, T matchSecond) throws MatchException
T
- mergeFirst
- mergeSecond
- MatchException
<T extends IMatchable> MatchResult invoke(T matchFirst, T matchSecond, boolean failAll) throws MatchException
MatchException
<T extends IMatchable> void invoke(T matchFirst, T matchSecond, MatchResult matchResult, boolean failAll) throws MatchException
matchFirst
- matchSecond
- matchResult
- failAll
- MatchException
Matching getMatching()
Copyright © 2007-2020 EDIT. All Rights Reserved.