1 | <?php |
||
13 | final class StepDelete extends AbstractStep |
||
14 | { |
||
15 | /** @var string deployment location in blue/green deployment. */ |
||
16 | private $slice; |
||
17 | |||
18 | /** @var string Name of the CF-application to be deleted */ |
||
19 | private $applicationName; |
||
20 | |||
21 | /** @var bool */ |
||
22 | private $delMappedRoutes; |
||
23 | |||
24 | /** @var bool Flag to force a deletion or not. */ |
||
25 | private $force; |
||
26 | |||
27 | /** |
||
28 | * |
||
29 | * @param array $configuration Current application configuration. |
||
30 | * @param string $applicationName Name of the CF-application to be deleted. |
||
31 | * @param string $slice deployment location in blue/green deployment. |
||
32 | * @param bool $force Flag to force a deletion or not. |
||
33 | * @param bool $deleteMappedRoutes Flag to delete mapped routes as well or not. |
||
34 | * |
||
35 | * @link http://martinfowler.com/bliki/BlueGreenDeployment.html |
||
36 | */ |
||
37 | 8 | public function __construct( |
|
51 | |||
52 | /** |
||
53 | * returns the command |
||
54 | * |
||
55 | * @return array |
||
56 | */ |
||
57 | 7 | public function getCommand() |
|
75 | } |
||
76 |