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>
  • Constructor Details

    • CommandStatsBuilder

      protected CommandStatsBuilder()
  • Method Details

    • copyFrom

      protected B copyFrom(CommandStats base)
    • withCommandStreamID

      public B withCommandStreamID(BigId commandStreamID)
    • withIssueTimeRange

      public B withIssueTimeRange(TimeExtent timeRange)
    • withActuationTimeRange

      public B withActuationTimeRange(TimeExtent timeRange)
    • withTotalCommandCount

      public B withTotalCommandCount(long count)
    • withCommandCountByTime

      public B withCommandCountByTime(int[] counts)
    • build

      public T build()
      Description copied from class: BaseBuilder
      Builds the object configured by this builder. This can only be called once.
      Overrides:
      build in class BaseBuilder<T extends CommandStats>
      Returns:
      The new object instance.