Class MonitoringCloudListener
java.lang.Object
hudson.slaves.CloudProvisioningListener
io.jenkins.plugins.opentelemetry.computer.MonitoringCloudListener
- All Implemented Interfaces:
ExtensionPoint
,io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
,Comparable<io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener>
@Extension(dynamicLoadable=YES,
optional=true)
public class MonitoringCloudListener
extends CloudProvisioningListener
implements io.jenkins.plugins.opentelemetry.api.OpenTelemetryLifecycleListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onComplete
(NodeProvisioner.PlannedNode plannedNode, Node node) void
onFailure
(NodeProvisioner.PlannedNode plannedNode, Throwable t) void
onRollback
(NodeProvisioner.PlannedNode plannedNode, Node node, Throwable t) void
Methods inherited from class hudson.slaves.CloudProvisioningListener
all, canProvision, canProvision, onCommit, onStarted
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
-
Constructor Details
-
MonitoringCloudListener
public MonitoringCloudListener()
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct() -
onFailure
- Overrides:
onFailure
in classCloudProvisioningListener
-
onRollback
public void onRollback(@NonNull NodeProvisioner.PlannedNode plannedNode, @NonNull Node node, @NonNull Throwable t) - Overrides:
onRollback
in classCloudProvisioningListener
-
onComplete
- Overrides:
onComplete
in classCloudProvisioningListener
-