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. ThegetMonitoringData()provides the results of the monitoring asAbstractAsyncNodeMonitorDescriptor.monitor()does. Note the value in the map can benullfor several reasons:- The monitoring
Callablereturnednullas 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 was not monitored as they ware either offline or monitor producednullCallable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<Computer,T>getMonitoringData()protected List<Computer>getSkipped()Computers that ware skipped during monitoring as they either do not have a a channel (offline) or the monitor have not produced the Callable.
-