getComponent

On this page
Back to index

Summary

Retrieves a component by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
componentName
Stringrequired
The name of the component.
applicationEntityRevisionId
Stringoptional
The revision ID of the versioned object.
applicationName
Stringoptional
The name of an application to scope this component to.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getComponent( projectName: "test-projectName", componentName: "test-componentName" /* optional arguments */ )