/AWS1/CL_SAGCODEREVIEWJOB¶
Represents a code review job, which is an execution instance of a code review. A code review job progresses through preflight, static analysis, and finalizing steps.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_codereviewjobid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The unique identifier of the code review job.
iv_codereviewid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The unique identifier of the code review associated with the job.
iv_title TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The title of the code review job.
iv_overview TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
An overview of the code review job results.
iv_status TYPE /AWS1/SAGJOBSTATUS /AWS1/SAGJOBSTATUS¶
The current status of the code review job.
it_documents TYPE /AWS1/CL_SAGDOCUMENTINFO=>TT_DOCUMENTLIST TT_DOCUMENTLIST¶
The list of documents providing context for the code review job.
it_sourcecode TYPE /AWS1/CL_SAGSOURCECODEREPO=>TT_SOURCECODEREPOSITORYLIST TT_SOURCECODEREPOSITORYLIST¶
The list of source code repositories analyzed during the code review job.
it_steps TYPE /AWS1/CL_SAGSTEP=>TT_STEPLIST TT_STEPLIST¶
The list of steps in the code review job execution.
it_executioncontext TYPE /AWS1/CL_SAGEXECUTIONCONTEXT=>TT_EXECUTIONCONTEXTLIST TT_EXECUTIONCONTEXTLIST¶
The execution context messages for the code review job.
iv_servicerole TYPE /AWS1/SAGSERVICEROLE /AWS1/SAGSERVICEROLE¶
The IAM service role used for the code review job.
io_logconfig TYPE REF TO /AWS1/CL_SAGCLOUDWATCHLOG /AWS1/CL_SAGCLOUDWATCHLOG¶
The CloudWatch Logs configuration for the code review job.
io_errorinformation TYPE REF TO /AWS1/CL_SAGERRORINFORMATION /AWS1/CL_SAGERRORINFORMATION¶
Error information if the code review job encountered an error.
it_integratedrepositories TYPE /AWS1/CL_SAGINTGRTDREPOSITORY=>TT_INTEGRATEDREPOSITORYLIST TT_INTEGRATEDREPOSITORYLIST¶
The list of integrated repositories associated with the code review job.
iv_coderemediationstrategy TYPE /AWS1/SAGCODEREMEDSTRATEGY /AWS1/SAGCODEREMEDSTRATEGY¶
The code remediation strategy for the code review job.
iv_maxtaskhours TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The maximum number of billable task hours allowed for this code review job. If the cumulative task hours reach this limit, the job is gracefully stopped.
iv_createdat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP¶
The date and time the code review job was created, in UTC format.
iv_updatedat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP¶
The date and time the code review job was last updated, in UTC format.
Queryable Attributes¶
codeReviewJobId¶
The unique identifier of the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODEREVIEWJOBID() |
Getter for CODEREVIEWJOBID, with configurable default |
ASK_CODEREVIEWJOBID() |
Getter for CODEREVIEWJOBID w/ exceptions if field has no val |
HAS_CODEREVIEWJOBID() |
Determine if CODEREVIEWJOBID has a value |
codeReviewId¶
The unique identifier of the code review associated with the job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODEREVIEWID() |
Getter for CODEREVIEWID, with configurable default |
ASK_CODEREVIEWID() |
Getter for CODEREVIEWID w/ exceptions if field has no value |
HAS_CODEREVIEWID() |
Determine if CODEREVIEWID has a value |
title¶
The title of the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TITLE() |
Getter for TITLE, with configurable default |
ASK_TITLE() |
Getter for TITLE w/ exceptions if field has no value |
HAS_TITLE() |
Determine if TITLE has a value |
overview¶
An overview of the code review job results.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OVERVIEW() |
Getter for OVERVIEW, with configurable default |
ASK_OVERVIEW() |
Getter for OVERVIEW w/ exceptions if field has no value |
HAS_OVERVIEW() |
Determine if OVERVIEW has a value |
status¶
The current status of the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
documents¶
The list of documents providing context for the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DOCUMENTS() |
Getter for DOCUMENTS, with configurable default |
ASK_DOCUMENTS() |
Getter for DOCUMENTS w/ exceptions if field has no value |
HAS_DOCUMENTS() |
Determine if DOCUMENTS has a value |
sourceCode¶
The list of source code repositories analyzed during the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCECODE() |
Getter for SOURCECODE, with configurable default |
ASK_SOURCECODE() |
Getter for SOURCECODE w/ exceptions if field has no value |
HAS_SOURCECODE() |
Determine if SOURCECODE has a value |
steps¶
The list of steps in the code review job execution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STEPS() |
Getter for STEPS, with configurable default |
ASK_STEPS() |
Getter for STEPS w/ exceptions if field has no value |
HAS_STEPS() |
Determine if STEPS has a value |
executionContext¶
The execution context messages for the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONCONTEXT() |
Getter for EXECUTIONCONTEXT, with configurable default |
ASK_EXECUTIONCONTEXT() |
Getter for EXECUTIONCONTEXT w/ exceptions if field has no va |
HAS_EXECUTIONCONTEXT() |
Determine if EXECUTIONCONTEXT has a value |
serviceRole¶
The IAM service role used for the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SERVICEROLE() |
Getter for SERVICEROLE, with configurable default |
ASK_SERVICEROLE() |
Getter for SERVICEROLE w/ exceptions if field has no value |
HAS_SERVICEROLE() |
Determine if SERVICEROLE has a value |
logConfig¶
The CloudWatch Logs configuration for the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LOGCONFIG() |
Getter for LOGCONFIG |
errorInformation¶
Error information if the code review job encountered an error.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ERRORINFORMATION() |
Getter for ERRORINFORMATION |
integratedRepositories¶
The list of integrated repositories associated with the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTEGRATEDREPOSITORIES() |
Getter for INTEGRATEDREPOSITORIES, with configurable default |
ASK_INTEGRATEDREPOSITORIES() |
Getter for INTEGRATEDREPOSITORIES w/ exceptions if field has |
HAS_INTEGRATEDREPOSITORIES() |
Determine if INTEGRATEDREPOSITORIES has a value |
codeRemediationStrategy¶
The code remediation strategy for the code review job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODEREMEDIATIONSTRATEGY() |
Getter for CODEREMEDIATIONSTRATEGY, with configurable defaul |
ASK_CODEREMEDIATIONSTRATEGY() |
Getter for CODEREMEDIATIONSTRATEGY w/ exceptions if field ha |
HAS_CODEREMEDIATIONSTRATEGY() |
Determine if CODEREMEDIATIONSTRATEGY has a value |
maxTaskHours¶
The maximum number of billable task hours allowed for this code review job. If the cumulative task hours reach this limit, the job is gracefully stopped.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXTASKHOURS() |
Getter for MAXTASKHOURS, with configurable default |
ASK_MAXTASKHOURS() |
Getter for MAXTASKHOURS w/ exceptions if field has no value |
STR_MAXTASKHOURS() |
String format for MAXTASKHOURS, with configurable default |
HAS_MAXTASKHOURS() |
Determine if MAXTASKHOURS has a value |
createdAt¶
The date and time the code review job was created, in UTC format.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
updatedAt¶
The date and time the code review job was last updated, in UTC format.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATEDAT() |
Getter for UPDATEDAT, with configurable default |
ASK_UPDATEDAT() |
Getter for UPDATEDAT w/ exceptions if field has no value |
HAS_UPDATEDAT() |
Determine if UPDATEDAT 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_CODEREVIEWJOBLIST¶
TYPES TT_CODEREVIEWJOBLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGCODEREVIEWJOB WITH DEFAULT KEY
.