Package org.apache.maven.surefire.booter
Class BooterDeserializer
java.lang.Object
org.apache.maven.surefire.booter.BooterDeserializer
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.
- Author:
- Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDescribes the current connection channel used by the client in the forked JVM in order to connect to the plugin process.int
-
Constructor Details
-
BooterDeserializer
- Throws:
IOException
-
-
Method Details
-
getForkNumber
public int getForkNumber() -
getConnectionString
Describes the current connection channel used by the client in the forked JVM in order to connect to the plugin process.- Returns:
- connection string (must not be null)
-
getPluginPid
- Returns:
- PID of Maven process where plugin is executed; or null if PID could not be determined.
-
deserialize
-
getStartupConfiguration
-