1 | <?php |
||
13 | final class StepPush extends AbstractCommonStep |
||
14 | { |
||
15 | /** |
||
16 | * indicate if --no-start flag is to be used or not |
||
17 | * |
||
18 | * @var boolean |
||
19 | */ |
||
20 | protected $start; |
||
21 | |||
22 | /** |
||
23 | * indicate if --no-route flag is to be used or not |
||
24 | * |
||
25 | * @var boolean |
||
26 | */ |
||
27 | protected $noRoute; |
||
28 | |||
29 | /** |
||
30 | * defines default startup command |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $command; |
||
35 | |||
36 | /** |
||
37 | * @var string Name of the step to be registered. |
||
38 | */ |
||
39 | protected static $stepName = 'push'; |
||
40 | |||
41 | /** |
||
42 | * @param array $configuration Current application configuration. |
||
43 | * @param string $applicationName Name of the CF-application to be checked |
||
44 | * @param string $slice deployment location in blue/green deployment. |
||
45 | * @param boolean $start start the app on push or use --no-start flag |
||
46 | * @param boolean $noRoute assign a route or use --no-route flag |
||
47 | * @param string $command command to be executed |
||
48 | */ |
||
49 | 6 | public function __construct( |
|
63 | |||
64 | /** |
||
65 | * returns the command |
||
66 | * |
||
67 | * @return array |
||
68 | */ |
||
69 | 5 | public function getCommand() |
|
89 | } |
||
90 |