NotificationScopeType Class

public final class NotificationScopeType
extends ExpandableStringEnum<NotificationScopeType>

Scope type of a notification rule.

Field Summary

Modifier and Type Field and Description
static final NotificationScopeType TESTS

Notification rule is for Tests.

Constructor Summary

Constructor Description
NotificationScopeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NotificationScopeType value.

Method Summary

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

Creates or finds a NotificationScopeType from its string representation.

static Collection<NotificationScopeType> values()

Gets known NotificationScopeType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

TESTS

public static final NotificationScopeType TESTS

Notification rule is for Tests.

Constructor Details

NotificationScopeType

@Deprecated
public NotificationScopeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NotificationScopeType value.

Method Details

fromString

public static NotificationScopeType fromString(String name)

Creates or finds a NotificationScopeType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NotificationScopeType.

values

public static Collection<NotificationScopeType> values()

Gets known NotificationScopeType values.

Returns:

known NotificationScopeType values.

Applies to