com.atlassian.bamboo.serialization.xstream
Class PluginsAwareMapper.Factory

java.lang.Object
  extended by com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.Factory
All Implemented Interfaces:
MapperFactory
Enclosing class:
PluginsAwareMapper

public static final class PluginsAwareMapper.Factory
extends java.lang.Object
implements MapperFactory


Constructor Summary
PluginsAwareMapper.Factory(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
PluginsAwareMapper.Factory(com.atlassian.plugin.PluginAccessor pluginAccessor, boolean enforceVersionCompatibility)
           
 
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.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginsAwareMapper.Factory

public PluginsAwareMapper.Factory(@NotNull
                                  com.atlassian.plugin.PluginAccessor pluginAccessor)

PluginsAwareMapper.Factory

public PluginsAwareMapper.Factory(@NotNull
                                  com.atlassian.plugin.PluginAccessor pluginAccessor,
                                  boolean enforceVersionCompatibility)
Method Detail

createMapper

@NotNull
public com.thoughtworks.xstream.mapper.MapperWrapper createMapper(@NotNull
                                                                          com.thoughtworks.xstream.mapper.Mapper wrappedMapper)
Description copied from interface: MapperFactory

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

Specified by:
createMapper in interface MapperFactory
Parameters:
wrappedMapper - wrapped mapper
Returns:
new custom mapper instance, should never be null


Copyright © 2012 Atlassian. All Rights Reserved.