com.atlassian.bamboo.persister.xstream
Interface MapperFactory

All Known Implementing Classes:
PluginsAwareMapper.Factory

public interface MapperFactory

Provides custom XStream Mappers that wraps around the default chain of mappers.

Since:
v3.3

Method Summary
 com.thoughtworks.xstream.mapper.MapperWrapper createMapper(com.thoughtworks.xstream.mapper.Mapper wrappedMapper)
          

Create custom mapper that wraps the default mapper chain represented by wrappedMapper.

 

Method Detail

createMapper

@NotNull
com.thoughtworks.xstream.mapper.MapperWrapper createMapper(@NotNull
                                                                   com.thoughtworks.xstream.mapper.Mapper wrappedMapper)

Create custom mapper that wraps the default mapper chain represented by wrappedMapper.

Parameters:
wrappedMapper - wrapped mapper
Returns:
new custom mapper instance, should never be null


Copyright © 2012 Atlassian. All Rights Reserved.