getApplication

On this page
Back to index

Summary

Retrieves an application by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringrequired
The name of the application.
applicationEntityRevisionId
Stringoptional
The revision ID of the versioned object.
validate
Booleanoptional
If passed 1, then all validations check if the definition is complete and valid.

Usage

Groovy

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