Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
72:scripting_dataset [2018/07/24 18:24] – [Metric Dataset Script Global Variables] bkkr | 72:scripting_dataset [2018/07/24 18:37] – [Metric Dataset Script Global Variables] bkkr | ||
---|---|---|---|
Line 4: | Line 4: | ||
**Description**: | **Description**: | ||
- | |||
=== Methods === | === Methods === | ||
**Pkit** | **Pkit** | ||
- | Return: pkit | + | |
- | + | | |
- | Description: | + | |
- | + | | |
- | getProjectsByName(str) | + | * returns an array of Project elements |
- | + | * getProjectByPath (str) | |
- | str is the name of a project | + | * 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 | ||
- | returns an array of Project elements | + | **Dataset** |
- | getProjectByPath (str) | + | * Return: void |
+ | * Description: | ||
- | str is the path of a project, parent are separated by | e.g. Methodpark | Development | Projects | Project A | + | **CurrentMetric** |
- | returns | + | * Return: ProcessElementElement (Metric) |
+ | * Description: | ||
- | getRootProject() | + | **CurrentCollector** |
- | returns | + | * Return: MetricCollectorElement |
+ | * Description: | ||
+ | * Collector | ||
+ | * Returns | ||
+ | * Stages Data set | ||
+ | * Not defined | ||
- | getCurrentProject() | + | CurrentUser |
- | returns the project element where the report | + | * Return: UserElement |
+ | * Description: | ||