linspector-old/lib/tasks/task.py

14 lines
212 B
Python
Raw Normal View History

2013-06-18 02:58:40 +02:00
"""
2013-06-19 03:26:25 +02:00
The task class.
2013-06-18 02:58:40 +02:00
"""
2013-06-18 01:50:01 +02:00
class Task:
def set_task_type(self, taskType):
2013-07-02 00:19:20 +02:00
self._taskType = taskType
2013-06-18 01:50:01 +02:00
def get_task_type(self):
return self._taskType
2013-07-02 00:19:20 +02:00
def execute(self, msg):
2013-07-02 00:19:20 +02:00
pass