Class BooterSerializer
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.BooterSerializer
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.
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
getTypeEncoded
(Object value) (package private) File
serialize
(KeyValueSource sourceProperties, ProviderConfiguration providerConfiguration, StartupConfiguration startupConfiguration, Object testSet, boolean readTestsFromInStream, Long pid, int forkNumber, String forkNodeConnectionString) Does not modify sourcePropertiesprivate static String
-
Field Details
-
forkConfiguration
-
-
Constructor Details
-
BooterSerializer
BooterSerializer(ForkConfiguration forkConfiguration)
-
-
Method Details
-
serialize
File serialize(KeyValueSource sourceProperties, ProviderConfiguration providerConfiguration, StartupConfiguration startupConfiguration, Object testSet, boolean readTestsFromInStream, Long pid, int forkNumber, String forkNodeConnectionString) throws IOException Does not modify sourceProperties- Throws:
IOException
-
getTypeEncoded
-
toString
-