Skip to content

/AWS1/CL_SAGEXECUTIONCONTEXT

Contains contextual information about the execution of a pentest job, such as errors, warnings, or informational messages.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_contexttype TYPE /AWS1/SAGCONTEXTTYPE /AWS1/SAGCONTEXTTYPE

The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.

iv_context TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The context message.

iv_timestamp TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

The date and time the context was recorded, in UTC format.


Queryable Attributes

contextType

The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.

Accessible with the following methods

Method Description
GET_CONTEXTTYPE() Getter for CONTEXTTYPE, with configurable default
ASK_CONTEXTTYPE() Getter for CONTEXTTYPE w/ exceptions if field has no value
HAS_CONTEXTTYPE() Determine if CONTEXTTYPE has a value

context

The context message.

Accessible with the following methods

Method Description
GET_CONTEXT() Getter for CONTEXT, with configurable default
ASK_CONTEXT() Getter for CONTEXT w/ exceptions if field has no value
HAS_CONTEXT() Determine if CONTEXT has a value

timestamp

The date and time the context was recorded, in UTC format.

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

Public Local Types In This Class

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

TT_EXECUTIONCONTEXTLIST

TYPES TT_EXECUTIONCONTEXTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGEXECUTIONCONTEXT WITH DEFAULT KEY
.