Skip to content

/AWS1/CL_CMTREPOSITORYTRIGGER

Information about a trigger for a repository.

If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/CMTREPOSITORYTRIGGERNAME /AWS1/CMTREPOSITORYTRIGGERNAME

The name of the trigger.

IV_DESTINATIONARN TYPE /AWS1/CMTARN /AWS1/CMTARN

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

IT_EVENTS TYPE /AWS1/CL_CMTREPOSITORYTRIGGE00=>TT_REPOSITORYTRIGGEREVENTLIST TT_REPOSITORYTRIGGEREVENTLIST

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

The valid value "all" cannot be used with any other values.

Optional arguments:

IV_CUSTOMDATA TYPE /AWS1/CMTREPOSITORYTRIGGERCU00 /AWS1/CMTREPOSITORYTRIGGERCU00

Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

IT_BRANCHES TYPE /AWS1/CL_CMTBRANCHNAMELIST_W=>TT_BRANCHNAMELIST TT_BRANCHNAMELIST

The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

Although no content is required in the array, you must include the array itself.


Queryable Attributes

name

The name of the trigger.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

destinationArn

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

Accessible with the following methods

Method Description
GET_DESTINATIONARN() Getter for DESTINATIONARN, with configurable default
ASK_DESTINATIONARN() Getter for DESTINATIONARN w/ exceptions if field has no valu
HAS_DESTINATIONARN() Determine if DESTINATIONARN has a value

customData

Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

Accessible with the following methods

Method Description
GET_CUSTOMDATA() Getter for CUSTOMDATA, with configurable default
ASK_CUSTOMDATA() Getter for CUSTOMDATA w/ exceptions if field has no value
HAS_CUSTOMDATA() Determine if CUSTOMDATA has a value

branches

The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

Although no content is required in the array, you must include the array itself.

Accessible with the following methods

Method Description
GET_BRANCHES() Getter for BRANCHES, with configurable default
ASK_BRANCHES() Getter for BRANCHES w/ exceptions if field has no value
HAS_BRANCHES() Determine if BRANCHES has a value

events

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

The valid value "all" cannot be used with any other values.

Accessible with the following methods

Method Description
GET_EVENTS() Getter for EVENTS, with configurable default
ASK_EVENTS() Getter for EVENTS w/ exceptions if field has no value
HAS_EVENTS() Determine if EVENTS 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_REPOSITORYTRIGGERSLIST

TYPES TT_REPOSITORYTRIGGERSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CMTREPOSITORYTRIGGER WITH DEFAULT KEY
.