Skip to content

Commit c651e0a

Browse files
mpkorstanjemlvandijk
authored andcommitted
Update Plugin docs to reflect that all other interfaces are optional (cucumber#1431)
1 parent b341e5e commit c651e0a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

core/src/main/java/cucumber/api/Plugin.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
* A plugin can be added to the runtime to listen in on step definition, summary printing and test
1111
* execution.
1212
* <p>
13-
* Plugins must implement one of the following interfaces:
14-
* <ul>
15-
* <li>{@link cucumber.api.StepDefinitionReporter}</li>
16-
* <li>{@link cucumber.api.SummaryPrinter}</li>
17-
* </ul>
18-
* <p>
1913
* Plugins are added to the runtime from the command line or @{@link CucumberOptions} and may be provided with a
2014
* parameter. To accept this parameter the plugin must have a public constructor that accepts one of the following
2115
* arguments:
@@ -34,6 +28,8 @@
3428
* <li>{@link cucumber.api.formatter.ColorAware}</li>
3529
* <li>{@link cucumber.api.formatter.StrictAware}</li>
3630
* <li>{@link cucumber.api.event.EventListener}</li>
31+
* <li>{@link cucumber.api.StepDefinitionReporter}</li>
32+
* <li>{@link cucumber.api.SummaryPrinter}</li>
3733
* </ul>
3834
*/
3935
public interface Plugin {

0 commit comments

Comments
 (0)