Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
72:scripting_dataset [2018/07/24 17:18] – created bkkr | 72:scripting_dataset [2018/07/24 18:24] – [Metric Dataset Script Global Variables] bkkr | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Metric Dataset Script Global Variables ====== | ====== Metric Dataset Script Global Variables ====== | ||
+ | |||
+ | **Description**: | ||
+ | |||
+ | === Methods === | ||
+ | |||
+ | **Pkit** | ||
+ | |||
+ | Return: pkit | ||
+ | |||
+ | Description: | ||
+ | |||
+ | getProjectsByName(str) | ||
+ | |||
+ | str is the name of a project | ||
+ | |||
+ | returns an array of Project elements | ||
+ | |||
+ | getProjectByPath (str) | ||
+ | |||
+ | str is the path of a project, parent are separated by | e.g. Methodpark | Development | Projects | Project A | ||
+ | |||
+ | returns the project element | ||
+ | |||
+ | getRootProject() | ||
+ | |||
+ | returns the root project element | ||
+ | |||
+ | getCurrentProject() | ||
+ | |||
+ | returns the project element where the report is located | ||