CommandResponse

data class CommandResponse(val action: String, val alwaysRun: Boolean? = null, val applyUpdateBefore: Boolean? = null, val content: String, val contentType: String, val maxRunTime: Int? = null, val name: String, val restartAfter: Boolean? = null, val runAsInteractive: Boolean? = null, val runElevated: Boolean? = null)

The command used in the test

Constructors

Link copied to clipboard
constructor(action: String, alwaysRun: Boolean? = null, applyUpdateBefore: Boolean? = null, content: String, contentType: String, maxRunTime: Int? = null, name: String, restartAfter: Boolean? = null, runAsInteractive: Boolean? = null, runElevated: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The action of the command.

Link copied to clipboard
val alwaysRun: Boolean? = null

Specifies whether to run the command even if a previous command is failed.

Link copied to clipboard

Specifies whether to apply update before the command.

Link copied to clipboard

The content of the command. The content depends on source type.

Link copied to clipboard

The type of command content.

Link copied to clipboard
val maxRunTime: Int? = null

Specifies the max run time of the command.

Link copied to clipboard

The name of the command.

Link copied to clipboard
val restartAfter: Boolean? = null

Specifies whether to restart the VM after the command executed.

Link copied to clipboard

Specifies whether to run the command in interactive mode.

Link copied to clipboard
val runElevated: Boolean? = null

Specifies whether to run the command as administrator.