OutputParameter

1 minute readReference

getOutputParameter

Get an output parameter by name.

Arguments

Argument Name Type Description

outputParameterName

String

The name of the output parameter. (Required)

jobId

String

The id of the job.

flowRuntimeId

String

The primary key or name of the flowRuntime container of the property sheet which owns the property.

jobStepId

String

The primary key of the job-step container of the property sheet which owns the property.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getOutputParameter( outputParameterName: 'test-outputParameterName' /* optional arguments */)

getOutputParameters

Get all output parameters from an output parameter container

Arguments

Argument Name Type Description

jobId

String

The id of the job.

flowRuntimeId

String

The primary key or name of the flowRuntime container of the property sheet which owns the property.

jobStepId

String

The primary key of the job-step container of the property sheet which owns the property.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getOutputParameters( /* optional arguments */)

setOutputParameter

Set an output parameter value.

Arguments

Argument Name Type Description

outputParameterName

String

The name of the output parameter. (Required)

value

String

The value of the output parameter. (Required)

flowRuntimeId

String

The primary key or name of the flowRuntime container of the property sheet which owns the property.

jobId

String

The id of the job.

jobStepId

String

The primary key of the job-step container of the property sheet which owns the property.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.setOutputParameter( outputParameterName: 'test-outputParameterName', value: 'test-value' /* optional arguments */)