OutputParameter

1 minute readReference

getOutputParameter

Gets all output parameters from an output parameter container. NOTE: You must specify either the jobId or flowRuntimeId object locators to find the parameter.

Arguments

Argument Name Type Description

outputParameterName

String

The name of the output parameter. (Required)

flowRuntimeId

String

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

jobId

String

The ID of the job.

jobStepId

String

The primary key of the job-step container of the property sheet that 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

Retrieves all output parameters from an output parameter container.

Arguments

Argument Name Type Description

flowRuntimeId

String

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

jobId

String

The ID of the job.

jobStepId

String

The primary key of the job-step container of the property sheet that 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

Sets 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 that owns the property.

jobId

String

The ID of the job.

jobStepId

String

The primary key of the job-step container of the property sheet that 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 */)