Changeset View
Changeset View
Standalone View
Standalone View
src/phage/action/PhageExecuteAction.php
<?php | <?php | ||||
final class PhageExecuteAction | final class PhageExecuteAction | ||||
extends PhageAction { | extends PhageAction { | ||||
private $command; | private $command; | ||||
private $label; | private $label; | ||||
private $exitCode; | |||||
public function isContainerAction() { | public function isContainerAction() { | ||||
return false; | return false; | ||||
} | } | ||||
public function setCommand(PhutilCommandString $command) { | public function setCommand(PhutilCommandString $command) { | ||||
$this->command = $command; | $this->command = $command; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getCommand() { | public function getCommand() { | ||||
return $this->command; | return $this->command; | ||||
} | } | ||||
public function setLabel($label) { | public function setLabel($label) { | ||||
$this->label = $label; | $this->label = $label; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getLabel() { | public function getLabel() { | ||||
return $this->label; | return $this->label; | ||||
} | } | ||||
public function setExitCode($exit_code) { | |||||
$this->exitCode = $exit_code; | |||||
return $this; | |||||
} | |||||
public function getExitCode() { | |||||
return $this->exitCode; | |||||
} | |||||
} | } |