Class ArchitectureMonitor.DescriptorImpl

All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
ArchitectureMonitor

@Extension @Symbol("architecture") public static final class ArchitectureMonitor.DescriptorImpl extends AbstractAsyncNodeMonitorDescriptor<String>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • createCallable

      protected hudson.remoting.Callable<String,IOException> createCallable(Computer c)
      Description copied from class: AbstractAsyncNodeMonitorDescriptor
      Creates a Callable that performs the monitoring when executed.
      Specified by:
      createCallable in class AbstractAsyncNodeMonitorDescriptor<String>
    • getDisplayName

      @NonNull public String getDisplayName()
      Description copied from class: Descriptor
      Human readable name of this kind of configurable object. Should be overridden for most descriptors, if the display name is visible somehow. As a fallback it uses Class.getSimpleName() on Descriptor.clazz, so for example MyThing from some.pkg.MyThing.DescriptorImpl. Historically some implementations returned null as a way of hiding the descriptor from the UI, but this is generally managed by an explicit method such as isEnabled or isApplicable.
      Overrides:
      getDisplayName in class Descriptor<NodeMonitor>
    • canTakeOffline

      public boolean canTakeOffline()
      Description copied from class: AbstractNodeMonitorDescriptor
      Indicates if this monitor is capable to take agents offline in case it detects a problem. If true, this will enable the configuration option to ignore the monitor. Defaults to true so plugins that do not override this method behave as before. Plugins that do implement a monitor that will not take agents offline should override this method and return false.
      Overrides:
      canTakeOffline in class AbstractNodeMonitorDescriptor<String>
      Returns:
      true if this monitor might take agents offline