Class ComputerEventListener
- java.lang.Object
-
- hudson.slaves.ComputerListener
-
- io.jenkins.plugins.maplelabs.Events.ComputerEventListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class ComputerEventListener extends ComputerListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ComputerEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onLaunchFailure(Computer computer, TaskListener taskListener)
void
onOffline(Computer computer, OfflineCause cause)
void
onTemporarilyOffline(Computer computer, OfflineCause cause)
void
onTemporarilyOnline(Computer computer)
-
Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onOffline, onOnline, onOnline, preLaunch, preOnline, register, unregister
-
-
-
-
Method Detail
-
onOffline
public void onOffline(@Nonnull Computer computer, @CheckForNull OfflineCause cause)
- Overrides:
onOffline
in classComputerListener
-
onTemporarilyOffline
public void onTemporarilyOffline(Computer computer, OfflineCause cause)
- Overrides:
onTemporarilyOffline
in classComputerListener
-
onTemporarilyOnline
public void onTemporarilyOnline(Computer computer)
- Overrides:
onTemporarilyOnline
in classComputerListener
-
onLaunchFailure
public void onLaunchFailure(Computer computer, TaskListener taskListener) throws IOException, InterruptedException
- Overrides:
onLaunchFailure
in classComputerListener
- Throws:
IOException
InterruptedException
-
-