PersonaCategory commands

createPersonaCategory

Create a new persona category.

Arguments

Argument Name Type Description

personaCategoryName

String

The persona category name. (Required)

description

String

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

personaPages

String array

list of pages in persona category

Usage

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


ElectricFlow ef = new ElectricFlow()

def result = ef.createPersonaCategory(
                personaCategoryName: 'test-personaCategoryName'
                /* optional arguments */)

deletePersonaCategory

delete a personaCategory by name.

Arguments

Argument Name Type Description

personaCategoryName

String

The persona category name. (Required)

Usage

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


ElectricFlow ef = new ElectricFlow()

def result = ef.deletePersonaCategory(
                personaCategoryName: 'test-personaCategoryName')

getPersonaCategories

Find all personaCategories.

Arguments

Usage

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


ElectricFlow ef = new ElectricFlow()

def result = ef.getPersonaCategories()

getPersonaCategory

Find a personaCategory by name.

Arguments

Argument Name Type Description

personaCategoryName

String

The persona category name. (Required)

Usage

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


ElectricFlow ef = new ElectricFlow()

def result = ef.getPersonaCategory(
                personaCategoryName: 'test-personaCategoryName')

modifyPersonaCategory

Modify an existing persona category.

Arguments

Argument Name Type Description

personaCategoryName

String

The persona category name. (Required)

clearPages

Boolean

clear persona pages for the category, if modifying.

description

String

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

newName

String

New name for an existing object that is being renamed.

personaPages

String array

list of pages in persona category

Usage

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


ElectricFlow ef = new ElectricFlow()

def result = ef.modifyPersonaCategory(
                personaCategoryName: 'test-personaCategoryName'
                /* optional arguments */)