Package hudson.remoting
Interface EngineListener
- All Known Implementing Classes:
EngineListenerAdapter,EngineListenerSplitter
public interface EngineListener
Receives status notification from
Engine.- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled whenEngine.run()exits, whether due toerror(java.lang.Throwable)or normally.default voidFatal error that's non recoverable.default voidCalled when a connection is terminated.default voidCalled when a re-connection is about to be attempted.default voidStatus message that indicates the progress of the operation.default voidStatus message, with additional stack trace that indicates an error that was recovered.
-
Method Details
-
status
Status message that indicates the progress of the operation. -
status
Status message, with additional stack trace that indicates an error that was recovered. -
error
Fatal error that's non recoverable. -
onDisconnect
default void onDisconnect()Called when a connection is terminated. -
onReconnect
default void onReconnect()Called when a re-connection is about to be attempted.- Since:
- 2.0
-
completed
default void completed()Called whenEngine.run()exits, whether due toerror(java.lang.Throwable)or normally.
-