1 | <?php |
||
7 | class Job extends AbstractJob |
||
8 | { |
||
9 | |||
10 | const P_PARAM_URL = 'url'; |
||
11 | const P_PARAM_METHOD = 'method'; |
||
12 | const P_PARAM_REQUEST_PARAMS = 'requestParams'; |
||
13 | const P_PARAM_EXPECT_CONTENT = 'expectContent'; |
||
14 | const P_PARAM_EXPECT_CODE = 'expectCode'; |
||
15 | const P_PARAM_SAVE_CONTENT = 'saveContent'; |
||
16 | const P_PARAM_SAVE_INFO = 'saveInfo'; |
||
17 | |||
18 | |||
19 | /** |
||
20 | * @return null |
||
21 | */ |
||
22 | 7 | public function getUrl() |
|
26 | |||
27 | /** |
||
28 | * @param $url |
||
29 | * |
||
30 | * @return $this |
||
31 | */ |
||
32 | 7 | public function setUrl($url) |
|
36 | |||
37 | /** |
||
38 | * @return null |
||
39 | */ |
||
40 | 7 | public function getMethod() |
|
44 | |||
45 | /** |
||
46 | * @param $method |
||
47 | * |
||
48 | * @return $this |
||
49 | */ |
||
50 | 7 | public function setMethod($method) |
|
54 | |||
55 | /** |
||
56 | * @return null|array |
||
57 | */ |
||
58 | 6 | public function getRequestParams() |
|
62 | |||
63 | /** |
||
64 | * @param $requestParams |
||
65 | * |
||
66 | * @return $this |
||
67 | */ |
||
68 | 1 | public function setRequestParams($requestParams) |
|
72 | |||
73 | /** |
||
74 | * @return null |
||
75 | */ |
||
76 | 5 | public function getExpectContent() |
|
80 | |||
81 | /** |
||
82 | * @param $text |
||
83 | * |
||
84 | * @return $this |
||
85 | */ |
||
86 | 4 | public function setExpectContent($text) |
|
90 | |||
91 | /** |
||
92 | * @return null |
||
93 | */ |
||
94 | 5 | public function getExpectCode() |
|
98 | |||
99 | /** |
||
100 | * @param $text |
||
101 | * |
||
102 | * @return $this |
||
103 | */ |
||
104 | 3 | public function setExpectCode($text) |
|
108 | |||
109 | /** |
||
110 | * @return null |
||
111 | */ |
||
112 | 5 | public function getSaveContent() |
|
116 | |||
117 | /** |
||
118 | * @param $boo |
||
119 | * |
||
120 | * @return $this |
||
121 | */ |
||
122 | 3 | public function setSaveContent($boo) |
|
126 | |||
127 | /** |
||
128 | * @return null |
||
129 | */ |
||
130 | 5 | public function getSaveInfo() |
|
134 | |||
135 | /** |
||
136 | * @param $boo |
||
137 | * |
||
138 | * @return $this |
||
139 | */ |
||
140 | 3 | public function setSaveInfo($boo) |
|
144 | |||
145 | } |