1 | <?php |
||
23 | class UrlInfo |
||
24 | { |
||
25 | protected $name; |
||
26 | protected $url; |
||
27 | protected $method; |
||
28 | protected $headers; |
||
29 | protected $timeout; |
||
30 | protected $expectedStatus; |
||
31 | protected $validator; |
||
32 | protected $metricUuid; |
||
33 | protected $serviceUuid; |
||
34 | |||
35 | /** |
||
36 | * Constructor. |
||
37 | * |
||
38 | * @param string $name |
||
39 | * @param string $url |
||
40 | * @param string $method |
||
41 | * @param array $headers |
||
42 | * @param int $timeout |
||
43 | * @param int $expectedStatus |
||
44 | * @param Validator $validator |
||
45 | * @param string $metricUuid |
||
46 | * @param string $serviceUuid |
||
47 | */ |
||
48 | public function __construct( |
||
69 | |||
70 | /** |
||
71 | * getName. |
||
72 | * |
||
73 | * @return string |
||
74 | */ |
||
75 | public function getName() |
||
79 | |||
80 | /** |
||
81 | * getUrl. |
||
82 | * |
||
83 | * @return string |
||
84 | */ |
||
85 | public function getUrl() |
||
89 | |||
90 | /** |
||
91 | * getMethod. |
||
92 | * |
||
93 | * @return string |
||
94 | */ |
||
95 | public function getMethod() |
||
99 | |||
100 | /** |
||
101 | * getHeaders. |
||
102 | * |
||
103 | * @return string |
||
104 | */ |
||
105 | public function getHeaders() |
||
109 | |||
110 | /** |
||
111 | * getTimeOut. |
||
112 | * |
||
113 | * @return int |
||
114 | */ |
||
115 | public function getTimeOut() |
||
119 | |||
120 | /** |
||
121 | * getTimeOut. |
||
122 | * |
||
123 | * @return int |
||
124 | */ |
||
125 | public function getExpectedStatus() |
||
129 | |||
130 | /** |
||
131 | * getMetricUuid. |
||
132 | * |
||
133 | * @return string |
||
134 | */ |
||
135 | public function getMetricUuid() |
||
139 | |||
140 | /** |
||
141 | * getServiceUuid. |
||
142 | * |
||
143 | * @return string |
||
144 | */ |
||
145 | public function getServiceUuid() |
||
149 | |||
150 | /** |
||
151 | * getValidator. |
||
152 | * |
||
153 | * @return Validator |
||
154 | */ |
||
155 | public function getValidator() |
||
159 | } |
||
160 |