Class MonitoringComputerListener
java.lang.Object
hudson.slaves.ComputerListener
io.jenkins.plugins.opentelemetry.computer.MonitoringComputerListener
- All Implemented Interfaces:
ExtensionPoint
,io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
,Comparable<io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener>
@Extension(dynamicLoadable=YES,
optional=true)
public class MonitoringComputerListener
extends ComputerListener
implements io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onLaunchFailure
(Computer computer, TaskListener taskListener) void
void
preOnline
(Computer computer, hudson.remoting.Channel channel, FilePath root, TaskListener listener) Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onOffline, onOffline, onOnline, onOnline, onTemporarilyOffline, onTemporarilyOnline, preLaunch, register, unregister
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
afterConfiguration, compareTo, ordinal
-
Field Details
-
jenkinsControllerOpenTelemetry
-
-
Constructor Details
-
MonitoringComputerListener
public MonitoringComputerListener()
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct() -
preOnline
public void preOnline(Computer computer, hudson.remoting.Channel channel, FilePath root, TaskListener listener) throws IOException, InterruptedException - Overrides:
preOnline
in classComputerListener
- Throws:
IOException
InterruptedException
-
onLaunchFailure
public void onLaunchFailure(Computer computer, TaskListener taskListener) throws IOException, InterruptedException - Overrides:
onLaunchFailure
in classComputerListener
- Throws:
IOException
InterruptedException
-