Class ShallowAnyErrorHandler
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<StatusErrorHandler>
-
- org.jenkinsci.plugins.github.extension.status.StatusErrorHandler
-
- org.jenkinsci.plugins.github.status.err.ShallowAnyErrorHandler
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<StatusErrorHandler>
,ErrorHandler
public class ShallowAnyErrorHandler extends StatusErrorHandler
Just logs message to the build console and do nothing after it- Since:
- 1.19.0
- Author:
- lanwen (Merkushev Kirill)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShallowAnyErrorHandler.ShallowAnyErrorHandlerDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ShallowAnyErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
handle(Exception e, Run<?,?> run, TaskListener listener)
Normally should return true if exception is handled and no other handler should do anything.-
Methods inherited from class org.jenkinsci.plugins.github.extension.status.StatusErrorHandler
all
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
handle
public boolean handle(Exception e, @NonNull Run<?,?> run, @NonNull TaskListener listener)
Description copied from interface:ErrorHandler
Normally should return true if exception is handled and no other handler should do anything. If you will return false, the next error handler should try to handle this exception- Parameters:
e
- exception to handle (log, ignore, process, rethrow)run
- run object from the steplistener
- listener object from the step- Returns:
- true as of its terminating handler
-
-