Class BooterSerializer


  • class BooterSerializer
    extends java.lang.Object
    Knows how to serialize and deserialize the booter configuration.
    The internal serialization format is through a properties file. The long-term goal of this class is not to expose this implementation information to its clients. This still leaks somewhat, and there are some cases where properties are being accessed as "Properties" instead of more representative domain objects.
    • Constructor Detail

    • Method Detail

      • serialize

        java.io.File serialize​(KeyValueSource sourceProperties,
                               ProviderConfiguration providerConfiguration,
                               StartupConfiguration startupConfiguration,
                               java.lang.Object testSet,
                               boolean readTestsFromInStream,
                               java.lang.Long pid,
                               int forkNumber)
                        throws java.io.IOException
        Does not modify sourceProperties
        Throws:
        java.io.IOException
      • getTypeEncoded

        private static java.lang.String getTypeEncoded​(java.lang.Object value)
      • toString

        private static java.lang.String toString​(java.lang.Object o)