Package org.sensorhub.api.command
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>
-
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 BcopyFrom(ICommandStatus base) withCommand(BigId id) withExecutionTime(TimeExtent execTime) withMessage(String message) withProgress(int progress) withReportTime(Instant reportTime) withResult(ICommandResult result) withStatusCode(ICommandStatus.CommandStatusCode statusCode)
-
Constructor Details
-
CommandStatusBuilder
protected CommandStatusBuilder()
-
-
Method Details
-
copyFrom
-
withCommand
-
withReportTime
-
withExecutionTime
-
withStatusCode
-
withProgress
-
withMessage
-
withResult
-
build
Description copied from class:BaseBuilderBuilds the object configured by this builder. This can only be called once.- Overrides:
buildin classBaseBuilder<T extends CommandStatus>- Returns:
- The new object instance.
-