public static final class UpdateTypes.Info.Builder
extends java.lang.Object
UpdateTypes.Info
.Constructor and Description |
---|
Builder(UpdateTypes.State state,
java.lang.String version)
Constructor with parameters for the required properties of
UpdateTypes.Info . |
Modifier and Type | Method and Description |
---|---|
UpdateTypes.Info |
build() |
UpdateTypes.Info.Builder |
setLatestQueryTime(java.util.Calendar latestQueryTime)
Timestamp of latest query to update repository.
|
UpdateTypes.Info.Builder |
setTask(TaskInfo task)
The running or completed update task.
|
public Builder(UpdateTypes.State state, java.lang.String version)
UpdateTypes.Info
.public UpdateTypes.Info.Builder setTask(TaskInfo task)
task
- New value for the property.public UpdateTypes.Info.Builder setLatestQueryTime(java.util.Calendar latestQueryTime)
null
the update was never queriedlatestQueryTime
- New value for the property.public UpdateTypes.Info build()