Conditions | 1 |
Total Lines | 38 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
23 | def __init__(self, sch_id, rnd_id, user_name, args): |
||
24 | """ |
||
25 | Object constructor. |
||
26 | |||
27 | :param int sch_id: The ID of the schedule of the job. |
||
28 | :param int rnd_id: The ID of the job. |
||
29 | :param str user_name: The user under which the job must run. |
||
30 | :param list[str] args: The arguments for the job. (args[0] is the path to the executable.) |
||
31 | """ |
||
32 | Message.__init__(self, SpawnJobMessage.MESSAGE_TYPE) |
||
33 | |||
34 | self.sch_id = sch_id |
||
35 | """ |
||
36 | The ID of the schedule of the job. |
||
37 | |||
38 | :type: int |
||
39 | """ |
||
40 | |||
41 | self.rnd_id = rnd_id |
||
42 | """ |
||
43 | The ID of the job. |
||
44 | |||
45 | :type: int |
||
46 | """ |
||
47 | |||
48 | self.user_name = user_name |
||
49 | """ |
||
50 | The user under which the job must run. |
||
51 | |||
52 | :type: str |
||
53 | """ |
||
54 | |||
55 | self.args = args |
||
56 | """ |
||
57 | The arguments for the job. (args[0] is the path to the executable.) |
||
58 | |||
59 | :type: list[str] |
||
60 | """ |
||
61 | |||
74 |