Class JvmVersionMonitor

java.lang.Object
hudson.node_monitors.NodeMonitor
io.jenkins.plugins.specsmonitor.JvmVersionMonitor
All Implemented Interfaces:
ExtensionPoint, Describable<NodeMonitor>

public class JvmVersionMonitor extends NodeMonitor
Node monitor that reports the version of the JVM running on each node, with the full version string as a tooltip.
  • Constructor Details

    • JvmVersionMonitor

      @DataBoundConstructor public JvmVersionMonitor()
  • Method Details

    • isOutdated

      public boolean isOutdated(VersionInfo info)
      Whether the node runs an older Java feature release (e.g. 17 versus 21) than the controller.
    • getTooltip

      public String getTooltip(VersionInfo info)
      The full version, with the controller's version added if the node is outdated.