Class CommandStatus.CommandStatusBuilder<B extends CommandStatus.CommandStatusBuilder<B,T>,T extends CommandStatus>

java.lang.Object
org.vast.util.BaseBuilder<T>
org.sensorhub.api.command.CommandStatus.CommandStatusBuilder<B,T>
Direct Known Subclasses:
CommandStatus.Builder
Enclosing class:
CommandStatus

public abstract static class CommandStatus.CommandStatusBuilder<B extends CommandStatus.CommandStatusBuilder<B,T>,T extends CommandStatus> extends BaseBuilder<T>
  • Constructor Details

    • CommandStatusBuilder

      protected CommandStatusBuilder()
  • Method Details

    • copyFrom

      protected B copyFrom(ICommandStatus base)
    • withCommand

      public B withCommand(BigId id)
    • withReportTime

      public B withReportTime(Instant reportTime)
    • withExecutionTime

      public B withExecutionTime(TimeExtent execTime)
    • withStatusCode

      public B withStatusCode(ICommandStatus.CommandStatusCode statusCode)
    • withProgress

      public B withProgress(int progress)
    • withMessage

      public B withMessage(String message)
    • withResult

      public B withResult(ICommandResult result)
    • 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 CommandStatus>
      Returns:
      The new object instance.