HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
dtm.EventObjects.ScheduledTask Class Reference

ScheduledTask event object, represents task's data fields in the Schedule container. More...

Inheritance diagram for dtm.EventObjects.ScheduledTask:
Collaboration diagram for dtm.EventObjects.ScheduledTask:

Public Member Functions

def __init__ (self, taskId, rTime, rTimeMax, state, priority)
 constructor initialize task data fields More...
 

Public Attributes

 id
 The task Id. More...
 
 rTime
 The time to run, msec. More...
 
 rTimeMax
 The time to run max. More...
 
 state
 The state of a task in the schedule. More...
 
 priority
 The priority of the task in the schedule. More...
 

Static Public Attributes

int STATE_PLANNED = 1
 
int STATE_INPROGRESS = 2
 
int STATE_CLOSED = 3
 

Detailed Description

ScheduledTask event object, represents task's data fields in the Schedule container.

The ScheduledTask object used to represent task's related data and for the Schedule container CRUD operations.

Definition at line 760 of file EventObjects.py.

Constructor & Destructor Documentation

◆ __init__()

def dtm.EventObjects.ScheduledTask.__init__ (   self,
  taskId,
  rTime,
  rTimeMax,
  state,
  priority 
)

constructor initialize task data fields

Parameters
idtask id.

Definition at line 770 of file EventObjects.py.

770  def __init__(self, taskId, rTime, rTimeMax, state, priority):
771 
773  self.id = taskId
774 
776  self.rTime = rTime
777 
779  self.rTimeMax = rTimeMax
780 
782  self.state = state
783 
785  self.priority = priority
786 
787 
788 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ id

dtm.EventObjects.ScheduledTask.id

The task Id.

Definition at line 773 of file EventObjects.py.

◆ priority

dtm.EventObjects.ScheduledTask.priority

The priority of the task in the schedule.

Definition at line 785 of file EventObjects.py.

◆ rTime

dtm.EventObjects.ScheduledTask.rTime

The time to run, msec.

Zero means ASAP.

Definition at line 776 of file EventObjects.py.

◆ rTimeMax

dtm.EventObjects.ScheduledTask.rTimeMax

The time to run max.

Definition at line 779 of file EventObjects.py.

◆ state

dtm.EventObjects.ScheduledTask.state

The state of a task in the schedule.

Definition at line 782 of file EventObjects.py.

◆ STATE_CLOSED

int dtm.EventObjects.ScheduledTask.STATE_CLOSED = 3
static

Definition at line 764 of file EventObjects.py.

◆ STATE_INPROGRESS

int dtm.EventObjects.ScheduledTask.STATE_INPROGRESS = 2
static

Definition at line 763 of file EventObjects.py.

◆ STATE_PLANNED

int dtm.EventObjects.ScheduledTask.STATE_PLANNED = 1
static

Definition at line 762 of file EventObjects.py.


The documentation for this class was generated from the following file: