Groovy API reference

TriggerErrorDetail

1 minute readReference

createTriggerErrorDetail

Creates trigger error detail

Arguments

Argument NameTypeDescription

applicationName

String

The name of the application

catalogItemName

String

The name of the catalog item

catalogName

String

The name of the catalog

errorCode

String

Error code

errorMessage

String

Error message

path

String

Property path string.

pipelineName

String

The name of the pipeline

procedureName

String

The name of the procedure

projectName

String

The name for the project that must be unique among all projects.

releaseName

String

The name of the release

triggerName

String

The name of the trigger

webhookHeaders

String

JSON contains webhook headers.

webhookPayload

String

JSON contains webhook payload.

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.createTriggerErrorDetail(
                /* optional arguments */)

deleteTriggerErrorDetail

Deletes trigger error detail

Arguments

Argument NameTypeDescription

triggerErrorDetailId

String

the id of trigger error detail (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.deleteTriggerErrorDetail(
                triggerErrorDetailId: 'test-triggerErrorDetailId')

getTriggerErrorDetails

Retrieve a list of trigger error details

Arguments

Argument NameTypeDescription

applicationName

String

The name of the application

catalogItemName

String

The name of the catalog item

catalogName

String

The name of the catalog

path

String

Property path string.

pipelineName

String

The name of the pipeline

procedureName

String

The name of the procedure

projectName

String

The name for the project that must be unique among all projects.

releaseName

String

The name of the release

triggerName

String

The name of the trigger

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getTriggerErrorDetails(
                /* optional arguments */)