Package hudson.model
Class LoadStatistics.LoadStatisticsSnapshot.Builder
- java.lang.Object
-
- hudson.model.LoadStatistics.LoadStatisticsSnapshot.Builder
-
- Enclosing class:
- LoadStatistics.LoadStatisticsSnapshot
public static class LoadStatistics.LoadStatisticsSnapshot.Builder extends Object
Use a builder so we can add more stats if needed. Not thread safe- Since:
- 1.607
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadStatistics.LoadStatisticsSnapshot
build()
LoadStatistics.LoadStatisticsSnapshot.Builder
with(Computer computer)
LoadStatistics.LoadStatisticsSnapshot.Builder
with(Node node)
LoadStatistics.LoadStatisticsSnapshot.Builder
withQueueLength(int queueLength)
-
-
-
Method Detail
-
build
public LoadStatistics.LoadStatisticsSnapshot build()
-
withQueueLength
public LoadStatistics.LoadStatisticsSnapshot.Builder withQueueLength(int queueLength)
-
with
public LoadStatistics.LoadStatisticsSnapshot.Builder with(@CheckForNull Node node)
-
with
public LoadStatistics.LoadStatisticsSnapshot.Builder with(@CheckForNull Computer computer)
-
-