Class SingletonConverterFactory

java.lang.Object
com.atlassian.bamboo.utils.xstream.converters.SingletonConverterFactory
All Implemented Interfaces:
ConverterFactory

public class SingletonConverterFactory extends Object implements ConverterFactory
Singleton ConverterFactory.
Since:
v3.3
  • Constructor Details

    • SingletonConverterFactory

      public SingletonConverterFactory(@NotNull @NotNull com.thoughtworks.xstream.converters.Converter converter)
  • Method Details

    • createConverter

      @NotNull public @NotNull com.thoughtworks.xstream.converters.Converter createConverter(@NotNull @NotNull com.thoughtworks.xstream.XStream xStream)
      Description copied from interface: ConverterFactory
      Create converter for given xStream instance.
      Specified by:
      createConverter in interface ConverterFactory
      Parameters:
      xStream - XStream instance
      Returns:
      new converter