NotificationEventType Class

public final class NotificationEventType
extends ExpandableStringEnum<NotificationEventType>

Notification event type.

Field Summary

Modifier and Type Field and Description
static final NotificationEventType TEST_RUN_ENDED

Test run ended event.

static final NotificationEventType TEST_RUN_STARTED

Test run started event.

static final NotificationEventType TRIGGER_COMPLETED

Trigger completed event.

static final NotificationEventType TRIGGER_DISABLED

Trigger disabled event.

Constructor Summary

Constructor Description
NotificationEventType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NotificationEventType value.

Method Summary

Modifier and Type Method and Description
static NotificationEventType fromString(String name)

Creates or finds a NotificationEventType from its string representation.

static Collection<NotificationEventType> values()

Gets known NotificationEventType values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding NotificationEventType.

values

public static Collection<NotificationEventType> values()

Gets known NotificationEventType values.

Returns:

known NotificationEventType values.

Applies to