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 SummaryNested classes/interfaces inherited from interface org.keycloak.models.map.storage.file.common.BlockContextBlockContext.DefaultListContext<T>, BlockContext.DefaultMapContext<T>, BlockContext.DefaultObjectContext<T>
- 
Field SummaryFields inherited from class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContextitemClass
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.DefaultMapContextadd, getResult, getScalarType, newDefaultMapContext, writeValueMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.map.storage.file.common.BlockContextadd
- 
Constructor Details- 
MapEntityMappingYamlContext
 
- 
- 
Method Details- 
getContextDescription 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 interface- BlockContext<T>
- Overrides:
- getContextin class- BlockContext.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:
 
 
-