getWidget

On this page
Back to index

Summary

Retrieves a dashboard widget by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
dashboardName
Stringrequired
Unique name of the dashboard within the project.
widgetName
Stringrequired
The name of the dashboard widget.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getWidget( projectName: "test-projectName", dashboardName: "test-dashboardName", widgetName: "test-widgetName" )