Interface TaskListenerDecorator.Factory
-
- All Superinterfaces:
ExtensionPoint
- Enclosing class:
- TaskListenerDecorator
public static interface TaskListenerDecorator.Factory extends ExtensionPoint
Allows a decorator to be applied to any build.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isAppliedBeforeMainDecorator()
TaskListenerDecorator
of(FlowExecutionOwner owner)
Supplies a decorator applicable to one build.
-
-
-
Method Detail
-
of
@CheckForNull TaskListenerDecorator of(@NonNull FlowExecutionOwner owner)
Supplies a decorator applicable to one build.- Parameters:
owner
- a build- Returns:
- a decorator, optionally
-
isAppliedBeforeMainDecorator
@Restricted(org.kohsuke.accmod.restrictions.Beta.class) default boolean isAppliedBeforeMainDecorator()
- Returns:
- boolean, false means to apply step decorators first, then TaskListenerDecorator, true means otherwise
- See Also:
TaskListenerDecorator.apply(TaskListener, FlowExecutionOwner, TaskListenerDecorator)
-
-