1 | <?php |
||
10 | class Parameters |
||
11 | { |
||
12 | /** @var array */ |
||
13 | private $paramsArray; |
||
14 | |||
15 | public function __construct(array $paramsArray) |
||
22 | |||
23 | /** |
||
24 | * Returns jira host. |
||
25 | */ |
||
26 | public function jiraHost() : string |
||
30 | |||
31 | /** |
||
32 | * Returns jira auth user. |
||
33 | */ |
||
34 | public function authenticationUser() : string |
||
38 | |||
39 | /** |
||
40 | * Returns jira auth password. |
||
41 | */ |
||
42 | public function authenticationPassword() : string |
||
46 | |||
47 | /** |
||
48 | * Returns jira projects to watch. |
||
49 | */ |
||
50 | public function jiraWatchProjects() : array |
||
54 | |||
55 | /** |
||
56 | * Returns jira deploy status. |
||
57 | */ |
||
58 | public function jiraDeployStatus() : string |
||
62 | |||
63 | /** |
||
64 | * Returns jira remove status. |
||
65 | */ |
||
66 | public function jiraRemoveStatuses() : array |
||
70 | |||
71 | /** |
||
72 | * Returns jira search max results |
||
73 | */ |
||
74 | public function jiraSearchMaxResults() : int |
||
78 | |||
79 | /** |
||
80 | * Returns bitbucket repository ssh host. |
||
81 | */ |
||
82 | public function bitbucketRepositoryHost() : string |
||
86 | |||
87 | /** |
||
88 | * Returns username. |
||
89 | */ |
||
90 | public function username() : string |
||
94 | |||
95 | /** |
||
96 | * Returns path to test instances directory. |
||
97 | */ |
||
98 | public function projectsHomeDir() : string |
||
102 | |||
103 | /** |
||
104 | * Returns server host directory. |
||
105 | */ |
||
106 | public function serverHostDir() : string |
||
110 | |||
111 | /** |
||
112 | * Returns server host public directory. |
||
113 | */ |
||
114 | public function serverPublicHostDir() : string |
||
118 | |||
119 | /** |
||
120 | * Returns home directory. |
||
121 | */ |
||
122 | public function homeDirectory() : string |
||
126 | |||
127 | /** |
||
128 | * Returns snapshot file name. |
||
129 | */ |
||
130 | public function snapshotFileName() : string |
||
134 | |||
135 | /** |
||
136 | * Combines path to particular test instance. |
||
137 | */ |
||
138 | public function path(string $ticketKey) : string |
||
142 | |||
143 | /** |
||
144 | * Combines filepath to particular snapshot. |
||
145 | */ |
||
146 | public function snapshotPath(string $ticketKey) : string |
||
150 | |||
151 | /** |
||
152 | * Combines symlink target. |
||
153 | */ |
||
154 | public function symlinkTarget(string $ticketKey) : string |
||
158 | |||
159 | /** |
||
160 | * Combines symlink source. |
||
161 | */ |
||
162 | public function symlinkSource(string $ticketKey) : string |
||
166 | } |
||
167 |