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 TypeMethodDescriptionvoidModifies theresult returnedfrom within this context by providing the read primitive value or a single sequence item in thevalueparameter.voidwriteValue(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, newDefaultListContextMethods 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
-
AttributeValueYamlContext
public AttributeValueYamlContext()
-
-
Method Details
-
writeValue
Description copied from interface:BlockContextWrites the given value usingWritingMechanism.- Specified by:
writeValuein interfaceBlockContext<Collection<String>>- Overrides:
writeValuein classBlockContext.DefaultListContext<String>
-
add
Description copied from interface:BlockContextModifies theresult returnedfrom within this context by providing the read primitive value or a single sequence item in thevalueparameter.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:
addin interfaceBlockContext<Collection<String>>- Overrides:
addin classBlockContext.DefaultListContext<String>
-