Class BootstrapEvent

java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.AbstractEvent
com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
All Implemented Interfaces:
IEvent, RemoteEvent

public class BootstrapEvent extends AbstractEvent
Initial message sent from the slave to the master (if forked locally).
  • Field Details

    • GUARANTEED_PROPERTIES

      private static final List<String> GUARANTEED_PROPERTIES
    • defaultCharset

      private String defaultCharset
    • systemProperties

      private Map<String,String> systemProperties
    • pidString

      private String pidString
  • Constructor Details

    • BootstrapEvent

      public BootstrapEvent()
      Preinitialization with local machine's configuration.
  • Method Details

    • collectSystemProperties

      private Map<String,String> collectSystemProperties()
    • getDefaultCharsetName

      public String getDefaultCharsetName()
      Default charset on the slave.
    • getSystemProperties

      public Map<String,String> getSystemProperties()
      System properties on the slave.
    • getPidString

      public String getPidString()
      Returns a PID string or anything that approximates it and would help in dumping a stack trace externally, for example.
    • serialize

      public void serialize(JsonWriter writer) throws IOException
      Throws:
      IOException
    • deserialize

      public void deserialize(JsonReader reader) throws IOException
      Throws:
      IOException