public class BootstrapEvent extends 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,
String propertyName) |
String |
getDefaultCharsetName()
Default charset on the forked JVM.
|
String |
getPidString()
Returns a PID string or anything that approximates it and would
help in dumping a stack trace externally, for example.
|
Map<String,String> |
getSystemProperties()
System properties on the forked JVM.
|
EventType |
getType() |
protected static byte[] |
readBinaryProperty(JsonReader reader,
String propertyName) |
protected static boolean |
readBoolean(JsonReader reader,
String propertyName) |
protected static long |
readLongProperty(JsonReader reader,
String propertyName) |
protected static String |
readStringOrNullProperty(JsonReader reader,
String propertyName) |
protected static String |
readStringProperty(JsonReader reader,
String propertyName) |
void |
serialize(JsonWriter writer) |
protected static JsonWriter |
writeBinaryProperty(JsonWriter writer,
String propertyName,
byte[] value) |
static void |
writeDescription(JsonWriter writer,
org.junit.runner.Description e) |
public BootstrapEvent()
public String getDefaultCharsetName()
public Map<String,String> getSystemProperties()
public String getPidString()
public void serialize(JsonWriter writer) throws IOException
IOException
public void deserialize(JsonReader reader) throws IOException
IOException
protected static JsonWriter writeBinaryProperty(JsonWriter writer, String propertyName, byte[] value) throws IOException
IOException
protected static byte[] readBinaryProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static String readStringProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static String readStringOrNullProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static boolean readBoolean(JsonReader reader, String propertyName) throws IOException
IOException
protected static long readLongProperty(JsonReader reader, String propertyName) throws IOException
IOException
protected static JsonReader expectProperty(JsonReader reader, String propertyName) throws IOException
IOException
public static void writeDescription(JsonWriter writer, org.junit.runner.Description e) throws IOException
IOException
Copyright © 2011–2024 Carrot Search s.c.. All rights reserved.