Skip to content

/AWS1/CL_CWTALARMHISTORYITEM

Represents the history of a specific alarm.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_alarmname TYPE /AWS1/CWTALARMNAME /AWS1/CWTALARMNAME

The descriptive name for the alarm.

iv_alarmcontributorid TYPE /AWS1/CWTCONTRIBUTORID /AWS1/CWTCONTRIBUTORID

The unique identifier of the alarm contributor associated with this history item, if applicable.

iv_alarmtype TYPE /AWS1/CWTALARMTYPE /AWS1/CWTALARMTYPE

The type of alarm, either metric alarm or composite alarm.

iv_timestamp TYPE /AWS1/CWTTIMESTAMP /AWS1/CWTTIMESTAMP

The time stamp for the alarm history item.

iv_historyitemtype TYPE /AWS1/CWTHISTORYITEMTYPE /AWS1/CWTHISTORYITEMTYPE

The type of alarm history item.

iv_historysummary TYPE /AWS1/CWTHISTORYSUMMARY /AWS1/CWTHISTORYSUMMARY

A summary of the alarm history, in text format.

iv_historydata TYPE /AWS1/CWTHISTORYDATA /AWS1/CWTHISTORYDATA

Data about the alarm, in JSON format.

it_alarmcontribattributes TYPE /AWS1/CL_CWTCONTRIBATTRS_W=>TT_CONTRIBUTORATTRIBUTES TT_CONTRIBUTORATTRIBUTES

A map of attributes that describe the alarm contributor associated with this history item, providing context about the contributor's characteristics at the time of the event.


Queryable Attributes

AlarmName

The descriptive name for the alarm.

Accessible with the following methods

Method Description
GET_ALARMNAME() Getter for ALARMNAME, with configurable default
ASK_ALARMNAME() Getter for ALARMNAME w/ exceptions if field has no value
HAS_ALARMNAME() Determine if ALARMNAME has a value

AlarmContributorId

The unique identifier of the alarm contributor associated with this history item, if applicable.

Accessible with the following methods

Method Description
GET_ALARMCONTRIBUTORID() Getter for ALARMCONTRIBUTORID, with configurable default
ASK_ALARMCONTRIBUTORID() Getter for ALARMCONTRIBUTORID w/ exceptions if field has no
HAS_ALARMCONTRIBUTORID() Determine if ALARMCONTRIBUTORID has a value

AlarmType

The type of alarm, either metric alarm or composite alarm.

Accessible with the following methods

Method Description
GET_ALARMTYPE() Getter for ALARMTYPE, with configurable default
ASK_ALARMTYPE() Getter for ALARMTYPE w/ exceptions if field has no value
HAS_ALARMTYPE() Determine if ALARMTYPE has a value

Timestamp

The time stamp for the alarm history item.

Accessible with the following methods

Method Description
GET_TIMESTAMP() Getter for TIMESTAMP, with configurable default
ASK_TIMESTAMP() Getter for TIMESTAMP w/ exceptions if field has no value
HAS_TIMESTAMP() Determine if TIMESTAMP has a value

HistoryItemType

The type of alarm history item.

Accessible with the following methods

Method Description
GET_HISTORYITEMTYPE() Getter for HISTORYITEMTYPE, with configurable default
ASK_HISTORYITEMTYPE() Getter for HISTORYITEMTYPE w/ exceptions if field has no val
HAS_HISTORYITEMTYPE() Determine if HISTORYITEMTYPE has a value

HistorySummary

A summary of the alarm history, in text format.

Accessible with the following methods

Method Description
GET_HISTORYSUMMARY() Getter for HISTORYSUMMARY, with configurable default
ASK_HISTORYSUMMARY() Getter for HISTORYSUMMARY w/ exceptions if field has no valu
HAS_HISTORYSUMMARY() Determine if HISTORYSUMMARY has a value

HistoryData

Data about the alarm, in JSON format.

Accessible with the following methods

Method Description
GET_HISTORYDATA() Getter for HISTORYDATA, with configurable default
ASK_HISTORYDATA() Getter for HISTORYDATA w/ exceptions if field has no value
HAS_HISTORYDATA() Determine if HISTORYDATA has a value

AlarmContributorAttributes

A map of attributes that describe the alarm contributor associated with this history item, providing context about the contributor's characteristics at the time of the event.

Accessible with the following methods

Method Description
GET_ALARMCONTRIBATTRIBUTES() Getter for ALARMCONTRIBUTORATTRIBUTES, with configurable def
ASK_ALARMCONTRIBATTRIBUTES() Getter for ALARMCONTRIBUTORATTRIBUTES w/ exceptions if field
HAS_ALARMCONTRIBATTRIBUTES() Determine if ALARMCONTRIBUTORATTRIBUTES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ALARMHISTORYITEMS

TYPES TT_ALARMHISTORYITEMS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWTALARMHISTORYITEM WITH DEFAULT KEY
.