Skip to content

Commit 77581e3

Browse files
authored
Merge pull request #6929 from thc202/automation/restore-method
automation: restore public method
2 parents 9cb8a99 + 6ab617e commit 77581e3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

addOns/automation/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66
## Unreleased
77
### Changed
8+
- Maintenance changes.
89
- Make the "pass" output of Monitor Tests consistent with the "fail" output.
910

1011
### Fixed

addOns/automation/src/main/java/org/zaproxy/addon/automation/ExtensionAutomation.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,17 @@ public AutomationPlan loadPlan(File f) throws IOException {
494494
return new AutomationPlan(this, f, false);
495495
}
496496

497+
/**
498+
* Loads a plan from the given input stream.
499+
*
500+
* @param in the input stream with the plan in YAML format.
501+
* @return the plan.
502+
* @since 0.4.0
503+
*/
504+
public AutomationPlan loadPlan(InputStream in) {
505+
return loadPlan(in, false);
506+
}
507+
497508
public AutomationPlan loadPlan(InputStream in, boolean quiet) {
498509
return new AutomationPlan(this, in, quiet);
499510
}

0 commit comments

Comments
 (0)