com.carrotsearch.ant.tasks.junit4.events
Class BootstrapEvent

java.lang.Object
  extended by com.carrotsearch.ant.tasks.junit4.events.BootstrapEvent
All Implemented Interfaces:
IEvent

public class BootstrapEvent
extends Object

Initial message sent from the slave to the master (if forked locally).


Nested Class Summary
static class BootstrapEvent.EventChannelType
          Communication channel for events.
 
Constructor Summary
BootstrapEvent(BootstrapEvent.EventChannelType channelType)
          Preinitialization with local machine's configuration.
 
Method Summary
 String getDefaultCharsetName()
          Default charset on the slave.
 BootstrapEvent.EventChannelType getEventChannel()
          Which channel will be used for communication? We need multiple options because various jvms send crash info to various channels.
 Map<String,String> getSystemProperties()
          System properties on the slave.
 EventType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapEvent

public BootstrapEvent(BootstrapEvent.EventChannelType channelType)
Preinitialization with local machine's configuration.

Method Detail

getEventChannel

public BootstrapEvent.EventChannelType getEventChannel()
Which channel will be used for communication? We need multiple options because various jvms send crash info to various channels. We will pick accordingly to the slave jvm's capabilities.


getDefaultCharsetName

public String getDefaultCharsetName()
Default charset on the slave.


getSystemProperties

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


getType

public EventType getType()
Specified by:
getType in interface IEvent


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.