|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WinningStrategy
Winning strategy.
Determines how a winner will be selected.
MatchingStrategy
Field Summary | |
---|---|
static WinningStrategy |
FIRST_MATCH_STRATEGY
This strategy always chooses first winner from the list. |
static WinningStrategy |
LONGEST_PATH_STRATEGY
This strategy chooses a winner with the longest path. |
Method Summary | |
---|---|
Access |
selectWinner(List<Access> candidates)
Selects a single winner amongst the candidates. |
Field Detail |
---|
static final WinningStrategy FIRST_MATCH_STRATEGY
static final WinningStrategy LONGEST_PATH_STRATEGY
Method Detail |
---|
Access selectWinner(List<Access> candidates)
candidates
- list of candidates
null
if no winner (for example: because empty list of candidates)
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |