Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getComponentsObjects(projectKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns all the project components as an array of JComponent structures.

Returns all the project components as an array of JComponent structures.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

projectKey

String

Yes

Project key.

Return Type

JComponent []

Example

retComponents
Code Block
languagejs
JComponent [] compObjs = getComponentsObjects("TP"); //projectKey as parameter
retComponents;for(JComponent comp in comObjs) {
    runnerLog(comp.name);
    runnerLog(comp.lead);
}

Returns an array of JComponent structures containing all the project components.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

project_

...

function" and space = currentSpace ( )
labelsarray_

...

functions