public interface MappingContext
| Modifier and Type | Method and Description |
|---|---|
MappingContext |
createChild(String name,
TypeInformation typeInformation)
Creates a child context with the given path addition ("name") and type information.
|
String |
createDescription() |
default TypeInformation |
getGenericTypeInfoOrFail(int index)
Convenience method: gets the generic type info for the given index and ensures that the generic type information
exists and that it can be converted into a safe-to-write class.
|
TypeInformation |
getTypeInformation() |
void |
registerError(String reason)
Registers an error during the mapping process, which delegates to the supplied
ConvertErrorRecorder,
associated to the property this conversion is being performed for. |
MappingContext createChild(String name, TypeInformation typeInformation)
name - additional path element to append to this context's pathtypeInformation - the required typeTypeInformation getTypeInformation()
default TypeInformation getGenericTypeInfoOrFail(int index)
index - the index to get generic type info forString createDescription()
void registerError(String reason)
ConvertErrorRecorder,
associated to the property this conversion is being performed for.reason - the error reason (ignored by the default context implementation)Copyright © 2016–2021 The AuthMe Team. All rights reserved.