Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 711:scripting_advanced [2025/04/04 11:55] – [Advanced Scripting] Weinlein, Thomas | 711:scripting_advanced [2025/09/17 14:07] (current) – Weinlein, Thomas | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Reports: '' | Reports: '' | ||
| + | |||
| + | Feedback Adapter: '' | ||
| e.g. | e.g. | ||
| Line 15: | Line 17: | ||
| </ | </ | ||
| - | Stages will prevent access to all other Java API and will log a error message indicating the unavailable class that needs whitelisting. | + | Stages will prevent access to all other Java API and will log an error message indicating the unavailable class that needs whitelisting. |
| File system access also needs explicit permission via configuration. | File system access also needs explicit permission via configuration. | ||
| - | Files to be accessible to Admin Jobs need to be stored in directories within '' | + | Files to be accessible to Admin Jobs need to be stored in directories within '' |
| - | This base directory can be configured via an absolute path with configuration property '' | + | |
| Files to be accessible to Reports need to be stored in directories within '' | Files to be accessible to Reports need to be stored in directories within '' | ||
| Line 51: | Line 52: | ||
| </ | </ | ||
| - | Please ensure the returned streams are closed after usage. | + | Please ensure the returned streams are **closed after usage**. |
| e.g. | e.g. | ||
| <code javascript> | <code javascript> | ||
| - | var reader = new java.io.BufferedReader(new java.io.InputStreamReader(Files.newInputStream(" | + | var reader = new java.io.BufferedReader(new java.io.InputStreamReader(Files.newInputStream(" |
| try { | try { | ||
| while ((rline = reader.readLine()) != null) { | while ((rline = reader.readLine()) != null) { | ||