Interface LabelValueExtractor<T>
-
public interface LabelValueExtractor<T>
Defines the contract for being able to extract a Set of values from an Object instance of T at processing time and declaring to which label the extracted Set must be associated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Object>
extract(T source)
Extracts the set for values for the given labelName from the source object.String
getLabelName()
int
getPriority()
Class<T>
getType()
-
-
-
Method Detail
-
getType
Class<T> getType()
- Returns:
- The source object's class from which the label value will be extracted.
-
getLabelName
String getLabelName()
- Returns:
- the name of the label for which the value will be extracted.
-
getPriority
int getPriority()
- Returns:
- the priority for the given extractor. In cases where two extractors are defined for the same labelName the one with the highest priority number will apply.
-
-