Using the Groovy API

PersonaPage

1 minute readReference

createPersonaPage

Create a new persona page.

Arguments

Argument NameTypeDescription

personaPageName

String

The persona page name. (Required)

description

String

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

url

String

The persona page url.

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.createPersonaPage(
                personaPageName: 'test-personaPageName'
                /* optional arguments */)

deletePersonaPage

delete a personaPage by name.

Arguments

Argument NameTypeDescription

personaPageName

String

The persona page name. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.deletePersonaPage(
                personaPageName: 'test-personaPageName')

getPersonaPage

Find a personaPage by name.

Arguments

Argument NameTypeDescription

personaPageName

String

The persona page name. (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getPersonaPage(
                personaPageName: 'test-personaPageName')

getPersonaPages

Find all personaPages.

Arguments

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getPersonaPages()

modifyPersonaPage

Modify an existing persona page.

Arguments

Argument NameTypeDescription

personaPageName

String

The persona page name. (Required)

description

String

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

newName

String

New name for an existing object that is being renamed.

url

String

The persona page url.

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.modifyPersonaPage(
                personaPageName: 'test-personaPageName'
                /* optional arguments */)