Class SumoJenkinsComputerListener
- java.lang.Object
-
- hudson.slaves.ComputerListener
-
- com.sumologic.jenkins.jenkinssumologicplugin.listeners.SumoJenkinsComputerListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class SumoJenkinsComputerListener extends ComputerListener
Sumo Logic plugin for Jenkins model.Computer Listener for any computer related event
Created by Sourabh Jain on 5/2019.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SumoJenkinsComputerListener()
-
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
onOnline(Computer computer, TaskListener listener)
void
onTemporarilyOffline(Computer computer, OfflineCause cause)
void
onTemporarilyOnline(Computer computer)
void
preLaunch(Computer computer, TaskListener listener)
void
preOnline(Computer computer, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
-
Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onOffline, onOnline, register, unregister
-
-
-
-
Method Detail
-
preLaunch
public void preLaunch(Computer computer, TaskListener listener)
- Overrides:
preLaunch
in classComputerListener
-
preOnline
public void preOnline(Computer computer, hudson.remoting.Channel channel, FilePath root, TaskListener listener)
- Overrides:
preOnline
in classComputerListener
-
onOnline
public void onOnline(Computer computer, TaskListener listener)
- Overrides:
onOnline
in classComputerListener
-
onOffline
public void onOffline(@Nonnull Computer computer, @CheckForNull OfflineCause cause)
- Overrides:
onOffline
in classComputerListener
-
onTemporarilyOnline
public void onTemporarilyOnline(Computer computer)
- Overrides:
onTemporarilyOnline
in classComputerListener
-
onTemporarilyOffline
public void onTemporarilyOffline(Computer computer, OfflineCause cause)
- Overrides:
onTemporarilyOffline
in classComputerListener
-
onLaunchFailure
public void onLaunchFailure(Computer computer, TaskListener taskListener)
- Overrides:
onLaunchFailure
in classComputerListener
-
-