Package hudson.node_monitors
Class AbstractAsyncNodeMonitorDescriptor.Result<T>
- java.lang.Object
-
- hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor.Result<T>
-
- Enclosing class:
- AbstractAsyncNodeMonitorDescriptor<T>
protected static final class AbstractAsyncNodeMonitorDescriptor.Result<T> extends Object
Result object forAbstractAsyncNodeMonitorDescriptor.monitorDetailed()
to facilitate extending information returned in the future.The
getMonitoringData()
provides the results of the monitoring asAbstractAsyncNodeMonitorDescriptor.monitor()
does. Note the value in the map can benull
for several reasons:- The monitoring
Callable
returnednull
as a provisioning result. - Creating or evaluating that callable has thrown an exception.
- The computer was not monitored as it was offline.
- The
AbstractAsyncNodeMonitorDescriptor.createCallable(hudson.model.Computer)
has returned null.
getSkipped()
returns computers that were not monitored as they were either offline or monitor producednull
Callable
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Computer,T>
getMonitoringData()
List<Computer>
getSkipped()
Computers that were skipped during monitoring as they either do not have a channel (offline) or the monitor has not produced the Callable.
-