TestRunEndedNotificationEventFilter Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. TestsNotificationEventFilter - com.
azure. developer. loadtesting. models. TestRunEndedNotificationEventFilter
- com.
- com.
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 Test |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Test |
fromJson(JsonReader jsonReader)
Reads an instance of Test |
|
Test |
getCondition()
Get the condition property: Event filtering condition. |
|
Notification |
getKind()
Get the kind property: The event type. |
|
Test |
setCondition(TestRunEndedEventCondition condition)
Set the condition property: Event filtering condition. |
|
Json |
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:
Returns:
Throws:
getCondition
public TestRunEndedEventCondition getCondition()
Get the condition property: Event filtering condition.
Returns:
getKind
public NotificationEventType getKind()
Get the kind property: The event type.
Overrides:
TestRunEndedNotificationEventFilter.getKind()Returns:
setCondition
public TestRunEndedNotificationEventFilter setCondition(TestRunEndedEventCondition condition)
Set the condition property: Event filtering condition.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TestRunEndedNotificationEventFilter.toJson(JsonWriter jsonWriter)Parameters:
Throws: