Skip to content

Commit

Permalink
Update src/main/java/org/jenkinsci/plugins/workflow/steps/StepDescrip…
Browse files Browse the repository at this point in the history
…tor.java

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
  • Loading branch information
basil and jglick authored Dec 8, 2021
1 parent 30a1510 commit ad86ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public abstract class StepDescriptor extends Descriptor<Step> {
* if your step cannot trivially handle a null value of a given kind, list that type here.
* The Pipeline execution engine will then signal a user error before even starting your step if called in an inappropriate context.
* For example, a step requesting a {@link Launcher} may only be run inside a {@code node {…}} block.
* @return typically a {@link Collections#unmodifiableSet(Set)} with context types like {@link TaskListener} or {@link Run} or {@link FilePath}
* @return a set of context types like {@link TaskListener} or {@link Run} or {@link FilePath}
*/
public abstract Set<? extends Class<?>> getRequiredContext();

Expand Down

0 comments on commit ad86ac5

Please sign in to comment.