Class TestDurationConverter

java.lang.Object
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
com.thoughtworks.xstream.converters.basic.LongConverter
com.atlassian.bamboo.results.tests.TestDurationConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class TestDurationConverter extends com.thoughtworks.xstream.converters.basic.LongConverter
Provides backward compatibility for the dark times when durations were stored as doubles.
  • Constructor Details

    • TestDurationConverter

      public TestDurationConverter()
  • Method Details

    • fromString

      public Object fromString(String str)
      Specified by:
      fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
      Overrides:
      fromString in class com.thoughtworks.xstream.converters.basic.LongConverter