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 TypeMethodDescriptionvoidonLaunchFailure(Computer computer, TaskListener taskListener) voidvoidpreOnline(Computer computer, hudson.remoting.Channel channel, FilePath root, TaskListener listener) Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onIdle, onOffline, onOffline, onOnline, onOnline, onTemporarilyOffline, onTemporarilyOnline, preLaunch, register, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
preOnlinein classComputerListener- Throws:
IOExceptionInterruptedException
-
onLaunchFailure
- Overrides:
onLaunchFailurein classComputerListener
-