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 Constructor Description AttributeValueYamlContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object value)
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
-
-
-
-
Method Detail
-
writeValue
public void writeValue(Collection<String> value, WritingMechanism mech)
Description copied from interface:BlockContext
Writes the given value usingWritingMechanism
.- Specified by:
writeValue
in interfaceBlockContext<Collection<String>>
- Overrides:
writeValue
in classBlockContext.DefaultListContext<String>
-
add
public void add(Object value)
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>
-
-