Package hudson.remoting
Class EngineListenerAdapter
- java.lang.Object
-
- hudson.remoting.EngineListenerAdapter
-
- All Implemented Interfaces:
EngineListener
public abstract class EngineListenerAdapter extends Object implements EngineListener
Adapter class forEngineListener
to shield subtypes from future callback additions.- Since:
- 2.36
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description EngineListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(Throwable t)
Fatal error that's non recoverable.void
onDisconnect()
Called when a connection is terminated.void
onReconnect()
Called when a re-connection is about to be attempted.void
status(String msg)
Status message that indicates the progress of the operation.void
status(String msg, Throwable t)
Status message, with additional stack trace that indicates an error that was recovered.
-
-
-
Method Detail
-
status
public void status(String msg)
Description copied from interface:EngineListener
Status message that indicates the progress of the operation.- Specified by:
status
in interfaceEngineListener
-
status
public void status(String msg, Throwable t)
Description copied from interface:EngineListener
Status message, with additional stack trace that indicates an error that was recovered.- Specified by:
status
in interfaceEngineListener
-
error
public void error(Throwable t)
Description copied from interface:EngineListener
Fatal error that's non recoverable.- Specified by:
error
in interfaceEngineListener
-
onDisconnect
public void onDisconnect()
Description copied from interface:EngineListener
Called when a connection is terminated.- Specified by:
onDisconnect
in interfaceEngineListener
-
onReconnect
public void onReconnect()
Description copied from interface:EngineListener
Called when a re-connection is about to be attempted.- Specified by:
onReconnect
in interfaceEngineListener
-
-