openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Components.Task.Job Class Reference
Inheritance diagram for Components.Task.Job:
Components.FileTransfer.FileTransferJob Components.Timeshift.CopyTimeshiftJob Components.Timeshift.CreateAPSCFilesJob Components.Timeshift.MergeTimeshiftJob Plugins.Extensions.DVDBurn.Bludisc.BDMVJob Plugins.Extensions.DVDBurn.MediumToolbox.DVDformatJob Plugins.Extensions.DVDBurn.Process.DVDJob Plugins.Extensions.DVDBurn.Process.DVDdataJob Plugins.Extensions.DVDBurn.Process.DVDisoJob Tools.CopyFiles.CopyFileJob Tools.CopyFiles.MoveFileJob

Public Member Functions

def __init__ (self, name)
 
def fromDescription (self, description)
 
def createDescription (self)
 
def getProgress (self)
 
def getStatustext (self)
 
def task_progress_changed_CB (self)
 
def addTask (self, task)
 
def start (self, callback)
 
def restart (self)
 
def runNext (self)
 
def taskCallback (self, task, res, stay_resident=False)
 
def retry (self)
 
def abort (self)
 
def cancel (self)
 
def __str__ (self)
 

Public Attributes

 tasks
 
 resident_tasks
 
 workspace
 
 current_task
 
 callback
 
 name
 
 finished
 
 end
 
 weightScale
 
 afterEvent
 
 state_changed
 
 status
 
 onSuccess
 

Static Public Attributes

 NOT_STARTED
 
 IN_PROGRESS
 
 FINISHED
 
 FAILED
 

Properties

 progress = property(getProgress)
 

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ __str__()

def Components.Task.Job.__str__ (   self)

◆ abort()

def Components.Task.Job.abort (   self)

◆ addTask()

def Components.Task.Job.addTask (   self,
  task 
)

◆ cancel()

def Components.Task.Job.cancel (   self)

◆ createDescription()

def Components.Task.Job.createDescription (   self)

◆ fromDescription()

def Components.Task.Job.fromDescription (   self,
  description 
)

◆ getProgress()

def Components.Task.Job.getProgress (   self)

◆ getStatustext()

def Components.Task.Job.getStatustext (   self)

◆ restart()

def Components.Task.Job.restart (   self)

◆ retry()

def Components.Task.Job.retry (   self)

◆ runNext()

def Components.Task.Job.runNext (   self)

◆ start()

def Components.Task.Job.start (   self,
  callback 
)

◆ task_progress_changed_CB()

def Components.Task.Job.task_progress_changed_CB (   self)

◆ taskCallback()

def Components.Task.Job.taskCallback (   self,
  task,
  res,
  stay_resident = False 
)

Member Data Documentation

◆ afterEvent

Components.Task.Job.afterEvent

◆ callback

Components.Task.Job.callback

◆ current_task

Components.Task.Job.current_task

◆ end

Components.Task.Job.end

◆ FAILED

Components.Task.Job.FAILED
static

◆ FINISHED

Components.Task.Job.FINISHED
static

◆ finished

Components.Task.Job.finished

◆ IN_PROGRESS

Components.Task.Job.IN_PROGRESS
static

◆ name

Components.Task.Job.name

◆ NOT_STARTED

Components.Task.Job.NOT_STARTED
static

◆ onSuccess

Components.Task.Job.onSuccess

◆ resident_tasks

Components.Task.Job.resident_tasks

◆ state_changed

Components.Task.Job.state_changed

◆ status

Components.Task.Job.status

◆ tasks

Components.Task.Job.tasks

◆ weightScale

Components.Task.Job.weightScale

◆ workspace

Components.Task.Job.workspace

Property Documentation

◆ progress

Components.Task.Job.progress = property(getProgress)
static

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