Interface FieldDiscoverer.MutableInstanceFactory<I>
-
- Type Parameters:
I
- intermediate type
- All Superinterfaces:
FieldDiscoverer.InstanceFactory<I>
- Enclosing interface:
- FieldDiscoverer<I>
public static interface FieldDiscoverer.MutableInstanceFactory<I> extends FieldDiscoverer.InstanceFactory<I>
A handler for working with mutable objects in the object mapper.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
complete(Object instance, I intermediate)
Apply the intermediate data to an existing object.-
Methods inherited from interface org.spongepowered.configurate.objectmapping.FieldDiscoverer.InstanceFactory
begin, canCreateInstances, complete
-
-
-
-
Method Detail
-
complete
void complete(Object instance, I intermediate) throws SerializationException
Apply the intermediate data to an existing object.- Parameters:
instance
- instance to write tointermediate
- intermediate container- Throws:
SerializationException
- if unable to apply info- Since:
- 4.0.0
-
-