Command.Builder

public abstract class Command.Builder


Command 的构建器。

摘要

公共方法

abstract Command
Command.Builder

清除之前设置的所有状态。

Command.Builder

“清除应用数据”命令的状态。

Command.Builder

“清除应用数据”命令的状态。

abstract Command.Builder

命令的此实例的唯一 ID。

abstract Command.Builder

完成此命令的时间。

abstract Command.Builder

创建此命令的时间。

abstract Command.Builder

此命令的状态。

公共方法

build

public abstract Command build()

clearStatus

@CanIgnoreReturnValue
public Command.Builder clearStatus()

清除之前设置的所有状态。

setClearAppsDataStatus

@CanIgnoreReturnValue
public Command.Builder setClearAppsDataStatus(Command.ClearAppsDataStatus value)

“清除应用数据”命令的状态。

setClearAppsDataStatus

@CanIgnoreReturnValue
public Command.Builder setClearAppsDataStatus(Command.ClearAppsDataStatus.Builder value)

“清除应用数据”命令的状态。

setCommandId

public abstract Command.Builder setCommandId(String value)

命令的此实例的唯一 ID。

setCompleteTime

public abstract Command.Builder setCompleteTime(Instant value)

完成此命令的时间。

setCreateTime

public abstract Command.Builder setCreateTime(Instant value)

创建此命令的时间。

setState

public abstract Command.Builder setState(Command.State value)

此命令的状态。