TestRunStartedNotificationEventFilter Class

public final class TestRunStartedNotificationEventFilter
extends TestsNotificationEventFilter

The notification event filter when the event type is TestRunStarted and scope is Tests.

Constructor Summary

Constructor Description
TestRunStartedNotificationEventFilter()

Creates an instance of TestRunStartedNotificationEventFilter class.

Method Summary

Modifier and Type Method and Description
static TestRunStartedNotificationEventFilter fromJson(JsonReader jsonReader)

Reads an instance of TestRunStartedNotificationEventFilter from the JsonReader.

NotificationEventType getKind()

Get the kind property: The event type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from TestsNotificationEventFilter

Methods inherited from java.lang.Object

Constructor Details

TestRunStartedNotificationEventFilter

public TestRunStartedNotificationEventFilter()

Creates an instance of TestRunStartedNotificationEventFilter class.

Method Details

fromJson

public static TestRunStartedNotificationEventFilter fromJson(JsonReader jsonReader)

Reads an instance of TestRunStartedNotificationEventFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestRunStartedNotificationEventFilter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TestRunStartedNotificationEventFilter.

getKind

public NotificationEventType getKind()

Get the kind property: The event type.

Overrides:

TestRunStartedNotificationEventFilter.getKind()

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TestRunStartedNotificationEventFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to