Class StringListMapContext.AttributeValueYamlContext
java.lang.Object
org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext<String>
org.keycloak.models.map.storage.file.common.StringListMapContext.AttributeValueYamlContext
- All Implemented Interfaces:
BlockContext<Collection<String>>
- Enclosing class:
- StringListMapContext
public static class StringListMapContext.AttributeValueYamlContext
extends BlockContext.DefaultListContext<String>
-
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.DefaultListContext
itemClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Modifies theresult returned
from within this context by providing the read primitive value or a single sequence item in thevalue
parameter.void
writeValue
(Collection<String> value, WritingMechanism mech) Writes the given value usingWritingMechanism
.Methods inherited from class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
getContext, getResult, getScalarType, newDefaultListContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.storage.file.common.BlockContext
add
-
Constructor Details
-
AttributeValueYamlContext
public AttributeValueYamlContext()
-
-
Method Details
-
writeValue
Description copied from interface:BlockContext
Writes the given value usingWritingMechanism
.- Specified by:
writeValue
in interfaceBlockContext<Collection<String>>
- Overrides:
writeValue
in classBlockContext.DefaultListContext<String>
-
add
Description copied from interface:BlockContext
Modifies theresult returned
from within this context by providing the read primitive value or a single sequence item in thevalue
parameter.Called after reading a primitive value or a single sequence item from the YAML file is finished.
If the parsed YAML part was a sequence, this method is called in the same order as the sequence items appear in the source YAML sequence.
- Specified by:
add
in interfaceBlockContext<Collection<String>>
- Overrides:
add
in classBlockContext.DefaultListContext<String>
-