Class CommandStats.CommandStatsBuilder<B extends CommandStats.CommandStatsBuilder<B,T>,T extends CommandStats>
java.lang.Object
org.vast.util.BaseBuilder<T>
org.sensorhub.api.datastore.command.CommandStats.CommandStatsBuilder<B,T>
- Direct Known Subclasses:
CommandStats.Builder
- Enclosing class:
- CommandStats
public abstract static class CommandStats.CommandStatsBuilder<B extends CommandStats.CommandStatsBuilder<B,T>,T extends CommandStats>
extends BaseBuilder<T>
-
Field Summary
Fields inherited from class org.vast.util.BaseBuilder
instance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object configured by this builder.protected B
copyFrom
(CommandStats base) withActuationTimeRange
(TimeExtent timeRange) withCommandCountByTime
(int[] counts) withCommandStreamID
(BigId commandStreamID) withIssueTimeRange
(TimeExtent timeRange) withTotalCommandCount
(long count)
-
Constructor Details
-
CommandStatsBuilder
protected CommandStatsBuilder()
-
-
Method Details
-
copyFrom
-
withCommandStreamID
-
withIssueTimeRange
-
withActuationTimeRange
-
withTotalCommandCount
-
withCommandCountByTime
-
build
Description copied from class:BaseBuilder
Builds the object configured by this builder. This can only be called once.- Overrides:
build
in classBaseBuilder<T extends CommandStats>
- Returns:
- The new object instance.
-