Class PluginsAwareMapper.Factory
java.lang.Object
com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.Factory
- All Implemented Interfaces:
MapperFactory
- Enclosing class:
- PluginsAwareMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull com.thoughtworks.xstream.mapper.MapperWrapper
createMapper
(@NotNull com.thoughtworks.xstream.mapper.MapperWrapper wrappedMapper) Create custom mapper that wraps the default mapper chain represented by wrappedMapper.
-
Constructor Details
-
Factory
public Factory() -
Factory
public Factory(boolean enforceVersionCompatibility)
-
-
Method Details
-
createMapper
@NotNull public @NotNull com.thoughtworks.xstream.mapper.MapperWrapper createMapper(@NotNull @NotNull com.thoughtworks.xstream.mapper.MapperWrapper wrappedMapper) Description copied from interface:MapperFactory
Create custom mapper that wraps the default mapper chain represented by wrappedMapper.
- Specified by:
createMapper
in interfaceMapperFactory
- Parameters:
wrappedMapper
- wrapped mapper- Returns:
- new custom mapper instance, should never be
null
-