NotificationEvent Class

public final class NotificationEvent
extends ExpandableStringEnum<NotificationEvent>

notification event.

Field Summary

Modifier and Type Field and Description
static final NotificationEvent ASSESSMENT_FAILURE

The subscribed report failed while collecting the assessments.

static final NotificationEvent GENERATE_SNAPSHOT_FAILED

The subscribed report's snapshot is failed to generate.

static final NotificationEvent GENERATE_SNAPSHOT_SUCCESS

The subscribed report's snapshot is successfully generated.

static final NotificationEvent REPORT_CONFIGURATION_CHANGES

The subscribed report's configuration is changed.

static final NotificationEvent REPORT_DELETION

The subscribed report is deleted.

Constructor Summary

Constructor Description
NotificationEvent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NotificationEvent value.

Method Summary

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

Creates or finds a NotificationEvent from its string representation.

static Collection<NotificationEvent> values()

Gets known NotificationEvent values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ASSESSMENT_FAILURE

public static final NotificationEvent ASSESSMENT_FAILURE

The subscribed report failed while collecting the assessments.

GENERATE_SNAPSHOT_FAILED

public static final NotificationEvent GENERATE_SNAPSHOT_FAILED

The subscribed report's snapshot is failed to generate.

GENERATE_SNAPSHOT_SUCCESS

public static final NotificationEvent GENERATE_SNAPSHOT_SUCCESS

The subscribed report's snapshot is successfully generated.

REPORT_CONFIGURATION_CHANGES

public static final NotificationEvent REPORT_CONFIGURATION_CHANGES

The subscribed report's configuration is changed.

REPORT_DELETION

public static final NotificationEvent REPORT_DELETION

The subscribed report is deleted.

Constructor Details

NotificationEvent

@Deprecated
public NotificationEvent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NotificationEvent value.

Method Details

fromString

public static NotificationEvent fromString(String name)

Creates or finds a NotificationEvent from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NotificationEvent.

values

public static Collection<NotificationEvent> values()

Gets known NotificationEvent values.

Returns:

known NotificationEvent values.

Applies to