Skip to content

Commit

Permalink
feat(api): Make Task an extension point (#3531)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
robzienert and mergify[bot] committed Mar 20, 2020
1 parent db7849f commit 6df9dcd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
import java.util.Collections;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.pf4j.ExtensionPoint;

/** A discrete unit of work in a pipeline execution that does one thing and one thing only. */
@Beta
public interface Task {
public interface Task extends ExtensionPoint {
/**
* Execute the business logic of the task, using the provided stage execution state.
*
Expand Down

0 comments on commit 6df9dcd

Please sign in to comment.