T
- the concrete type of the attributepublic interface MultipleCandidatesDetails<T>
Modifier and Type | Method | Description |
---|---|---|
void |
closestMatch(T candidate) |
Calling this method indicates that the candidate is the closest match.
|
Set<T> |
getCandidateValues() |
A set of candidate values.
|
T |
getConsumerValue() |
Returns the value of the attribute specified by the consumer.
|
@Incubating @Nullable T getConsumerValue()
null
if the consumer did not specify a value.Set<T> getCandidateValues()
void closestMatch(T candidate)
candidate
- the closest match