Skip to content

[Core] Update Plugin docs #1431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions core/src/main/java/cucumber/api/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
* A plugin can be added to the runtime to listen in on step definition, summary printing and test
* execution.
* <p>
* Plugins must implement one of the following interfaces:
* <ul>
* <li>{@link cucumber.api.StepDefinitionReporter}</li>
* <li>{@link cucumber.api.SummaryPrinter}</li>
* </ul>
* <p>
* Plugins are added to the runtime from the command line or @{@link CucumberOptions} and may be provided with a
* parameter. To accept this parameter the plugin must have a public constructor that accepts one of the following
* arguments:
Expand All @@ -34,6 +28,8 @@
* <li>{@link cucumber.api.formatter.ColorAware}</li>
* <li>{@link cucumber.api.formatter.StrictAware}</li>
* <li>{@link cucumber.api.event.EventListener}</li>
* <li>{@link cucumber.api.StepDefinitionReporter}</li>
* <li>{@link cucumber.api.SummaryPrinter}</li>
* </ul>
*/
public interface Plugin {
Expand Down