Interface RecordPropertyContextHandler
public interface RecordPropertyContextHandler
This is the base interface for a property context handler for record entities. An implementation of this interface
has to be registered as described in the
ServiceLoader and has to have a
Provider annotation providing the name.- Since:
- 0.2
-
Method Summary
Modifier and TypeMethodDescriptionOptional<? extends PropertyContext> createContext(Field field) This method should be implemented to analyze the field and create aPropertyContextif required.
-
Method Details
-
createContext
This method should be implemented to analyze the field and create aPropertyContextif required.- Parameters:
field- The field that is currently processed- Returns:
- A constructed
PropertyContextor an emptyOptional
-