Class BootstrapEvent
java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
- All Implemented Interfaces:
IEvent
,RemoteEvent
Initial message sent from the slave to the master (if forked locally).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deserialize
(JsonReader reader) Default charset on the slave.Returns a PID string or anything that approximates it and would help in dumping a stack trace externally, for example.System properties on the slave.void
serialize
(JsonWriter writer) Methods inherited from class com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
expectProperty, getType, readBinaryProperty, readBoolean, readLongProperty, readStringOrNullProperty, readStringProperty, writeBinaryProperty, writeDescription
-
Field Details
-
GUARANTEED_PROPERTIES
-
defaultCharset
-
systemProperties
-
pidString
-
-
Constructor Details
-
BootstrapEvent
public BootstrapEvent()Preinitialization with local machine's configuration.
-
-
Method Details
-
collectSystemProperties
-
getDefaultCharsetName
Default charset on the slave. -
getSystemProperties
System properties on the slave. -
getPidString
Returns a PID string or anything that approximates it and would help in dumping a stack trace externally, for example. -
serialize
- Throws:
IOException
-
deserialize
- Throws:
IOException
-