ArchiveConnector

2 minute readReference

createArchiveConnector

Creates a new archiveConnector object.

Arguments

Argument Name Type Description

archiveConnectorName

String

Unique name of the archive connector. (Required)

archiveDataFormat

String

The data format that the connector consumes the archived data in.

archiveScript

String

Script registered to connect to the archive system and store the data being archived.

description

String

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

enabled

Boolean

Whether the connector is enabled. If true, then any previously enabled archive connector will be disabled.

Usage

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createArchiveConnector( archiveConnectorName: 'test-archiveConnectorName' /* optional arguments */)

deleteArchiveConnector

Deletes the specified archiveConnector object.

Arguments

Argument Name Type Description

archiveConnectorName

String

Unique name of the archive connector. (Required)

Usage

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

getArchiveConnector

Retrieves the specified archiveConnector object.

Arguments

Argument Name Type Description

archiveConnectorName

String

Unique name of the archive connector. (Required)

Usage

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

getArchiveConnectors

Retrieves all archiveConnector objects.

Arguments

Usage

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

modifyArchiveConnector

Modifies the specified archiveConnector object.

Arguments

Argument Name Type Description

archiveConnectorName

String

Unique name of the archive connector. (Required)

actualParameters

Actual parameter values for the configured archive connector.

archiveDataFormat

String

The data format that the connector consumes the archived data in.

archiveScript

String

Script registered to connect to the archive system and store the data being archived.

clearActualParameters

Boolean

True if the archive connector should remove all actual parameters.

description

String

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

enabled

Boolean

Whether the connector is enabled. If true, then any previously enabled archive connector will be disabled.

newName

String

The 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.modifyArchiveConnector( archiveConnectorName: 'test-archiveConnectorName' /* optional arguments */)