Skip to content

/AWS1/CL_ARTPACKAGEGRORIGINR00

Contains information about the configured restrictions of the origin controls of a package group.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_mode TYPE /AWS1/ARTPACKAGEGRORIGINREST01 /AWS1/ARTPACKAGEGRORIGINREST01

The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

iv_effectivemode TYPE /AWS1/ARTPACKAGEGRORIGINREST01 /AWS1/ARTPACKAGEGRORIGINREST01

The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

io_inheritedfrom TYPE REF TO /AWS1/CL_ARTPACKAGEGRREFERENCE /AWS1/CL_ARTPACKAGEGRREFERENCE

The parent package group that the package group origin restrictions are inherited from.

iv_repositoriescount TYPE /AWS1/ARTLONGOPTIONAL /AWS1/ARTLONGOPTIONAL

The number of repositories in the allowed repository list.


Queryable Attributes

mode

The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

Accessible with the following methods

Method Description
GET_MODE() Getter for MODE, with configurable default
ASK_MODE() Getter for MODE w/ exceptions if field has no value
HAS_MODE() Determine if MODE has a value

effectiveMode

The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

Accessible with the following methods

Method Description
GET_EFFECTIVEMODE() Getter for EFFECTIVEMODE, with configurable default
ASK_EFFECTIVEMODE() Getter for EFFECTIVEMODE w/ exceptions if field has no value
HAS_EFFECTIVEMODE() Determine if EFFECTIVEMODE has a value

inheritedFrom

The parent package group that the package group origin restrictions are inherited from.

Accessible with the following methods

Method Description
GET_INHERITEDFROM() Getter for INHERITEDFROM

repositoriesCount

The number of repositories in the allowed repository list.

Accessible with the following methods

Method Description
GET_REPOSITORIESCOUNT() Getter for REPOSITORIESCOUNT, with configurable default
ASK_REPOSITORIESCOUNT() Getter for REPOSITORIESCOUNT w/ exceptions if field has no v
HAS_REPOSITORIESCOUNT() Determine if REPOSITORIESCOUNT 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_PACKAGEGRORIGINRESTRICTIONS

TYPES TT_PACKAGEGRORIGINRESTRICTIONS TYPE HASHED TABLE OF /AWS1/CL_ARTPACKAGEGRORIGINR00=>TS_PACKAGEGRORIGINRES00_MAPROW WITH UNIQUE KEY key
.

TS_PACKAGEGRORIGINRES00_MAPROW

TYPES: BEGIN OF TS_PACKAGEGRORIGINRES00_MAPROW,
  key TYPE /AWS1/ARTPACKAGEGRORIGINREST00,
  value TYPE REF TO /AWS1/CL_ARTPACKAGEGRORIGINR00,
END OF TS_PACKAGEGRORIGINRES00_MAPROW.