getComponentsObjects
Handy Button
Syntax | getComponentsObjects(projectKey) | Package | |
Alias | Pkg Usage |
Description
Returns all the project components as an array of JComponent structures.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
projectKey | String | Yes | Project key. |
Return Type
Example
JComponent [] compObjs = getComponentsObjects("TP"); //projectKey as parameter
for(JComponent comp in comObjs) {
runnerLog(comp.name);
runnerLog(comp.lead);
}Returns an array of JComponent structures containing all the project components.