Class MapEntityContext.MapEntityMappingYamlContext<T>
java.lang.Object
org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext<T>
org.keycloak.models.map.storage.file.common.MapEntityContext.MapEntityMappingYamlContext<T>
- All Implemented Interfaces:
BlockContext<Map<String,T>>
- Enclosing class:
- MapEntityContext<T>
public static class MapEntityContext.MapEntityMappingYamlContext<T>
extends BlockContext.DefaultMapContext<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.storage.file.common.BlockContext
BlockContext.DefaultListContext<T>, BlockContext.DefaultMapContext<T>, BlockContext.DefaultObjectContext<T> -
Field Summary
Fields inherited from class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
itemClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContext(String nameOfSubcontext) Called after reading a key of map entry in YAML file and before reading its value.Methods inherited from class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
add, getResult, getScalarType, newDefaultMapContext, writeValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.storage.file.common.BlockContext
add
-
Constructor Details
-
MapEntityMappingYamlContext
-
-
Method Details
-
getContext
Description copied from interface:BlockContextCalled after reading a key of map entry in YAML file and before reading its value. The key of the entry is represented asnameOfSubcontextparameter, and provides means to specify aYamlContextfor transforming the mapping value into appropriate Java object.- Specified by:
getContextin interfaceBlockContext<T>- Overrides:
getContextin classBlockContext.DefaultMapContext<T>- Parameters:
nameOfSubcontext- Key of the map entry- Returns:
- Context used for transforming the value,
or
nullif the default primitive / sequence / mapping context should be used instead. - See Also:
-