TestRunEndedNotificationEventFilter Class

public final class TestRunEndedNotificationEventFilter
extends TestsNotificationEventFilter

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

Constructor Summary

Constructor Description
TestRunEndedNotificationEventFilter()

Creates an instance of TestRunEndedNotificationEventFilter class.

Method Summary

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

Reads an instance of TestRunEndedNotificationEventFilter from the JsonReader.

TestRunEndedEventCondition getCondition()

Get the condition property: Event filtering condition.

NotificationEventType getKind()

Get the kind property: The event type.

TestRunEndedNotificationEventFilter setCondition(TestRunEndedEventCondition condition)

Set the condition property: Event filtering condition.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from TestsNotificationEventFilter

Methods inherited from java.lang.Object

Constructor Details

TestRunEndedNotificationEventFilter

public TestRunEndedNotificationEventFilter()

Creates an instance of TestRunEndedNotificationEventFilter class.

Method Details

fromJson

public static TestRunEndedNotificationEventFilter fromJson(JsonReader jsonReader)

Reads an instance of TestRunEndedNotificationEventFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestRunEndedNotificationEventFilter 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 TestRunEndedNotificationEventFilter.

getCondition

public TestRunEndedEventCondition getCondition()

Get the condition property: Event filtering condition.

Returns:

the condition value.

getKind

public NotificationEventType getKind()

Get the kind property: The event type.

Overrides:

TestRunEndedNotificationEventFilter.getKind()

Returns:

the kind value.

setCondition

public TestRunEndedNotificationEventFilter setCondition(TestRunEndedEventCondition condition)

Set the condition property: Event filtering condition.

Parameters:

condition - the condition value to set.

Returns:

the TestRunEndedNotificationEventFilter object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TestRunEndedNotificationEventFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to