NotificationEventType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. developer. loadtesting. models. NotificationEventType
- com.
- com.
public final class NotificationEventType
extends ExpandableStringEnum<NotificationEventType>
Notification event type.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Notification |
TEST_RUN_ENDED
Test run ended event. |
|
static final
Notification |
TEST_RUN_STARTED
Test run started event. |
|
static final
Notification |
TRIGGER_COMPLETED
Trigger completed event. |
|
static final
Notification |
TRIGGER_DISABLED
Trigger disabled event. |
Constructor Summary
| Constructor | Description |
|---|---|
| NotificationEventType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Notification |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notification |
fromString(String name)
Creates or finds a Notification |
|
static
Collection<Notification |
values()
Gets known Notification |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
TEST_RUN_ENDED
public static final NotificationEventType TEST_RUN_ENDED
Test run ended event. This event would occur when a test run reaches terminal state.
TEST_RUN_STARTED
public static final NotificationEventType TEST_RUN_STARTED
Test run started event. This event would occur when a new test run is triggered.
TRIGGER_COMPLETED
public static final NotificationEventType TRIGGER_COMPLETED
Trigger completed event. This event would occur when a trigger completes.
TRIGGER_DISABLED
public static final NotificationEventType TRIGGER_DISABLED
Trigger disabled event. This event would occur when a trigger is disabled.
Constructor Details
NotificationEventType
@Deprecated
public NotificationEventType()
Deprecated
Creates a new instance of NotificationEventType value.
Method Details
fromString
public static NotificationEventType fromString(String name)
Creates or finds a NotificationEventType from its string representation.
Parameters:
Returns:
values
public static Collection<NotificationEventType> values()
Gets known NotificationEventType values.
Returns: