License

1 minute readReference

deleteLicense

Deletes a license.

Arguments

Argument Name Type Description

productName

String

Product name of the license.(Required)

featureName

String

Feature name of the license.(Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.deleteLicense( productName: 'test-productName', featureName: 'test-featureName')

getAdminLicense

Retrieves the admin license, which can be used when all concurrent user licenses are in use.

Arguments

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getAdminLicense()

getLicense

Retrieves information for one license.

Arguments

Argument Name Type Description

productName

String

Product name of the license.(Required)

featureName

String

Feature name of the license.(Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getLicense( productName: 'test-productName', featureName: 'test-featureName')

getLicenseDetails

Retrieves licenses details required for UI processing.

Arguments

Argument Name Type Description

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getLicenseDetails()

getLicenseUsage

Retrieves the current license usage.

Arguments

Argument Name Type Description

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getLicenseUsage()

getLicenses

Retrieves all license data.

Arguments

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getLicenses()

importLicenseData

Imports one or more licenses.

Arguments

Argument Name Type Description

licenseData

String

Container elements for license data. Expects embedded XML as CDATA.(Required)

Usage

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