| 1 | <?php |
||
| 7 | class DeployStep |
||
| 8 | { |
||
| 9 | private $title; |
||
| 10 | private $commands; |
||
| 11 | private $servers; |
||
| 12 | private $path = null; |
||
| 13 | private $isMandatory = true; |
||
| 14 | |||
| 15 | 8 | public function __construct($title, $commands, array $servers) |
|
| 21 | |||
| 22 | 2 | public function getTitle() |
|
| 26 | |||
| 27 | 8 | public function setCommands(array $commands) |
|
| 31 | |||
| 32 | 2 | public function getCommands() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return AbstractServer[] |
||
| 39 | */ |
||
| 40 | 2 | public function getServers() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param array $servers |
||
| 47 | */ |
||
| 48 | 8 | public function setServers(array $servers) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getPath() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $path |
||
| 63 | */ |
||
| 64 | public function setPath($path) |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return bool |
||
| 71 | */ |
||
| 72 | 3 | public function isMandatory() |
|
| 76 | |||
| 77 | /** |
||
| 78 | * @param bool $isMandatory |
||
| 79 | */ |
||
| 80 | 1 | public function setIsMandatory($isMandatory) |
|
| 84 | } |
||
| 85 |