Catalog

2 minute readReference

createCatalog

Create a new catalog.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

catalogName

String

The name of the catalog. (Required)

description

String

Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

iconUrl

String

Set icon url for a catalog

Usage

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

deleteCatalog

Deletes a catalog.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

catalogName

String

The name of the catalog. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteCatalog( projectName: 'test-projectName', catalogName: 'test-catalogName')

getCatalog

Retrieve a catalog by name.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

catalogName

String

The name of the catalog. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getCatalog( projectName: 'test-projectName', catalogName: 'test-catalogName')

getCatalogs

Retrieve all catalogs in a project.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getCatalogs( projectName: 'test-projectName')

modifyCatalog

Modify a catalog.

Arguments

Argument Name Type Description

projectName

String

The name for the project that must be unique among all projects. (Required)

catalogName

String

The name of the catalog. (Required)

description

String

Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

iconUrl

String

Set icon url for a catalog

newName

String

New name for an existing object that is being renamed.

Usage

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