public class BootstrapEvent
extends java.lang.Object
| Constructor and Description |
|---|
BootstrapEvent()
Preinitialization with local machine's configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JsonReader reader) |
protected static JsonReader |
expectProperty(JsonReader reader,
java.lang.String propertyName) |
java.lang.String |
getDefaultCharsetName()
Default charset on the slave.
|
java.lang.String |
getPidString()
Returns a PID string or anything that approximates it and would
help in dumping a stack trace externally, for example.
|
java.util.Map<java.lang.String,java.lang.String> |
getSystemProperties()
System properties on the slave.
|
EventType |
getType() |
protected static byte[] |
readBinaryProperty(JsonReader reader,
java.lang.String propertyName) |
protected static boolean |
readBoolean(JsonReader reader,
java.lang.String propertyName) |
protected static long |
readLongProperty(JsonReader reader,
java.lang.String propertyName) |
protected static java.lang.String |
readStringOrNullProperty(JsonReader reader,
java.lang.String propertyName) |
protected static java.lang.String |
readStringProperty(JsonReader reader,
java.lang.String propertyName) |
void |
serialize(JsonWriter writer) |
protected static JsonWriter |
writeBinaryProperty(JsonWriter writer,
java.lang.String propertyName,
byte[] value) |
static void |
writeDescription(JsonWriter writer,
org.junit.runner.Description e) |
public BootstrapEvent()
public java.lang.String getDefaultCharsetName()
public java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
public java.lang.String getPidString()
public void serialize(JsonWriter writer) throws java.io.IOException
java.io.IOExceptionpublic void deserialize(JsonReader reader) throws java.io.IOException
java.io.IOExceptionprotected static JsonWriter writeBinaryProperty(JsonWriter writer, java.lang.String propertyName, byte[] value) throws java.io.IOException
java.io.IOExceptionprotected static byte[] readBinaryProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String readStringProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String readStringOrNullProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static boolean readBoolean(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static long readLongProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionprotected static JsonReader expectProperty(JsonReader reader, java.lang.String propertyName) throws java.io.IOException
java.io.IOExceptionpublic static void writeDescription(JsonWriter writer, org.junit.runner.Description e) throws java.io.IOException
java.io.IOExceptionCopyright © 2011–2017 Carrot Search s.c.. All rights reserved.