Skip to content

/AWS1/CL_OMXSOURCEREFERENCE

Contains information about the source reference in a code repository, such as a branch, tag, or commit.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/OMXSOURCEREFERENCETYPE /AWS1/OMXSOURCEREFERENCETYPE

The type of source reference, such as branch, tag, or commit.

iv_value TYPE /AWS1/OMXSOURCEREFERENCEVALUE /AWS1/OMXSOURCEREFERENCEVALUE

The value of the source reference, such as the branch name, tag name, or commit ID.


Queryable Attributes

type

The type of source reference, such as branch, tag, or commit.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

value

The value of the source reference, such as the branch name, tag name, or commit ID.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE has a value