Skip to content

/AWS1/CL_NWSRESOURCESCOPE

Defines which resources of a given type are in scope. Exactly one of includeAll, include, or exclude is set.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_includeall TYPE /AWS1/NWSBOOLEAN /AWS1/NWSBOOLEAN

Includes all resources of the resource type.

io_include TYPE REF TO /AWS1/CL_NWSRESOURCESET /AWS1/CL_NWSRESOURCESET

Includes the resources that match the specified criteria or explicit ARNs.

io_exclude TYPE REF TO /AWS1/CL_NWSRESOURCESET /AWS1/CL_NWSRESOURCESET

Excludes the resources that match the specified criteria or explicit ARNs.


Queryable Attributes

includeAll

Includes all resources of the resource type.

Accessible with the following methods

Method Description
GET_INCLUDEALL() Getter for INCLUDEALL, with configurable default
ASK_INCLUDEALL() Getter for INCLUDEALL w/ exceptions if field has no value
HAS_INCLUDEALL() Determine if INCLUDEALL has a value

include

Includes the resources that match the specified criteria or explicit ARNs.

Accessible with the following methods

Method Description
GET_INCLUDE() Getter for INCLUDE

exclude

Excludes the resources that match the specified criteria or explicit ARNs.

Accessible with the following methods

Method Description
GET_EXCLUDE() Getter for EXCLUDE

Public Local Types In This Class

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

TT_RESOURCESCOPEMAP

TYPES TT_RESOURCESCOPEMAP TYPE HASHED TABLE OF /AWS1/CL_NWSRESOURCESCOPE=>TS_RESOURCESCOPEMAP_MAPROW WITH UNIQUE KEY key
.

TS_RESOURCESCOPEMAP_MAPROW

TYPES: BEGIN OF TS_RESOURCESCOPEMAP_MAPROW,
  key TYPE /AWS1/NWSSCOPERESOURCETYPE,
  value TYPE REF TO /AWS1/CL_NWSRESOURCESCOPE,
END OF TS_RESOURCESCOPEMAP_MAPROW.