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.BlockContextBlockContext.DefaultListContext<T>, BlockContext.DefaultMapContext<T>, BlockContext.DefaultObjectContext<T>
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContextitemClass
 
- 
 - 
Constructor SummaryConstructors Constructor Description MapEntityMappingYamlContext(Class<T> mapValueClass)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockContext<T>getContext(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, writeValue
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.storage.file.common.BlockContextadd
 
- 
 
- 
- 
- 
Method Detail- 
getContextpublic BlockContext<T> getContext(String nameOfSubcontext) 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 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:
- BlockContext.DefaultObjectContext,- BlockContext.DefaultListContext,- BlockContext.DefaultMapContext
 
 
- 
 
-