Package io.jenkins.plugins.specsmonitor
Class ConnectionMonitor.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<NodeMonitor>
hudson.node_monitors.AbstractNodeMonitorDescriptor<ConnectionInfo>
hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor<ConnectionInfo>
io.jenkins.plugins.specsmonitor.ConnectionMonitor.DescriptorImpl
- Enclosing class:
ConnectionMonitor
@Extension
@Symbol("connectionMonitor")
public static class ConnectionMonitor.DescriptorImpl
extends AbstractAsyncNodeMonitorDescriptor<ConnectionInfo>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor
AbstractAsyncNodeMonitorDescriptor.Result<T>Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis monitor only reports information, so there is no threshold to take a node offline.protected MasterToSlaveCallable<ConnectionInfo, IOException> The connection is determined here on the controller from the launch method and handed to the callable, which adds the node's IP address and reports it back once the node is online.Methods inherited from class hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor
monitor, monitor, monitorDetailedMethods inherited from class hudson.node_monitors.AbstractNodeMonitorDescriptor
get, getConfigPage, getMonitoringTimeOut, getTimestamp, getTimestampString, isIgnored, markOffline, markOffline, markOnlineMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
createCallable
The connection is determined here on the controller from the launch method and handed to the callable, which adds the node's IP address and reports it back once the node is online.- Specified by:
createCallablein classAbstractAsyncNodeMonitorDescriptor<ConnectionInfo>
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<NodeMonitor>
-
canTakeOffline
public boolean canTakeOffline()This monitor only reports information, so there is no threshold to take a node offline.- Overrides:
canTakeOfflinein classAbstractNodeMonitorDescriptor<ConnectionInfo>
-