openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Components.Task.Task Class Reference
Inheritance diagram for Components.Task.Task:
Components.FileTransfer.FileTransferTask Components.Task.ConditionTask Components.Task.LoggingTask Components.Task.PythonTask Components.Timeshift.AddCopyTimeshiftTask Components.Timeshift.AddMergeTimeshiftTask Components.Timeshift.CreateAPSCFilesTask Plugins.Extensions.DVDBurn.Bludisc.CopyThumbTask Plugins.Extensions.DVDBurn.Bludisc.CreateClpiTask Plugins.Extensions.DVDBurn.Bludisc.CreateIndexTask Plugins.Extensions.DVDBurn.Bludisc.CreateMetaTask Plugins.Extensions.DVDBurn.Bludisc.CreateMobjTask Plugins.Extensions.DVDBurn.Bludisc.CreateMplsTask Plugins.Extensions.DVDBurn.Bludisc.CreateStructureTask Plugins.Extensions.DVDBurn.Bludisc.RemuxTask Plugins.Extensions.DVDBurn.MediumToolbox.DVDformatTask Plugins.Extensions.DVDBurn.Process.BurnTask Plugins.Extensions.DVDBurn.Process.CheckDiskspaceTask Plugins.Extensions.DVDBurn.Process.CopyMeta Plugins.Extensions.DVDBurn.Process.DVDAuthorFinalTask Plugins.Extensions.DVDBurn.Process.DVDAuthorTask Plugins.Extensions.DVDBurn.Process.DemuxTask Plugins.Extensions.DVDBurn.Process.ImagePrepareTask Plugins.Extensions.DVDBurn.Process.LinkTS Plugins.Extensions.DVDBurn.Process.MakeFifoNode Plugins.Extensions.DVDBurn.Process.MenuImageTask Plugins.Extensions.DVDBurn.Process.MplexTask Plugins.Extensions.DVDBurn.Process.PreviewTask Plugins.Extensions.DVDBurn.Process.RemoveESFiles Plugins.Extensions.DVDBurn.Process.RemoveWorkspaceFolder Plugins.Extensions.DVDBurn.Process.WaitForResidentTasks Plugins.Extensions.DVDBurn.Process.mpeg2encTask Plugins.Extensions.DVDBurn.Process.png2yuvTask Plugins.Extensions.DVDBurn.Process.spumuxTask Tools.CopyFiles.AddFileProcessTask

Public Member Functions

def __init__ (self, job, name)
 
def setCommandline (self, cmd, args)
 
def setTool (self, tool)
 
def setCmdline (self, cmdline)
 
def checkPreconditions (self, immediate=False)
 
def run (self, callback)
 
def prepare (self)
 
def cleanup (self, failed)
 
def processStdout (self, data)
 
def processStderr (self, data)
 
def processOutput (self, data)
 
def processOutputLine (self, line)
 
def processFinished (self, returncode)
 
def abort (self)
 
def finish (self, aborted=False)
 
def afterRun (self)
 
def writeInput (self, input)
 
def getProgress (self)
 
def setProgress (self, progress)
 
def __str__ (self)
 

Public Attributes

 name
 
 immediate_preconditions
 
 global_preconditions
 
 postconditions
 
 returncode
 
 initial_input
 
 job
 
 end
 
 weighting
 
 cmd
 
 cwd
 
 args
 
 cmdline
 
 task_progress_changed
 
 output_line
 
 container
 
 callback
 

Properties

 progress = property(getProgress, setProgress)
 

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ __str__()

def Components.Task.Task.__str__ (   self)

◆ abort()

◆ afterRun()

◆ checkPreconditions()

def Components.Task.Task.checkPreconditions (   self,
  immediate = False 
)

◆ cleanup()

def Components.Task.Task.cleanup (   self,
  failed 
)

◆ finish()

def Components.Task.Task.finish (   self,
  aborted = False 
)

◆ getProgress()

def Components.Task.Task.getProgress (   self)

◆ prepare()

◆ processFinished()

def Components.Task.Task.processFinished (   self,
  returncode 
)

◆ processOutput()

def Components.Task.Task.processOutput (   self,
  data 
)

◆ processOutputLine()

◆ processStderr()

def Components.Task.Task.processStderr (   self,
  data 
)

◆ processStdout()

def Components.Task.Task.processStdout (   self,
  data 
)

◆ run()

◆ setCmdline()

def Components.Task.Task.setCmdline (   self,
  cmdline 
)

◆ setCommandline()

def Components.Task.Task.setCommandline (   self,
  cmd,
  args 
)

◆ setProgress()

def Components.Task.Task.setProgress (   self,
  progress 
)

◆ setTool()

def Components.Task.Task.setTool (   self,
  tool 
)

◆ writeInput()

def Components.Task.Task.writeInput (   self,
  input 
)

Member Data Documentation

◆ args

Components.Task.Task.args

◆ callback

Components.Task.Task.callback

◆ cmd

Components.Task.Task.cmd

◆ cmdline

Components.Task.Task.cmdline

◆ container

Components.Task.Task.container

◆ cwd

Components.Task.Task.cwd

◆ end

Components.Task.Task.end

◆ global_preconditions

Components.Task.Task.global_preconditions

◆ immediate_preconditions

Components.Task.Task.immediate_preconditions

◆ initial_input

Components.Task.Task.initial_input

◆ job

Components.Task.Task.job

◆ name

Components.Task.Task.name

◆ output_line

Components.Task.Task.output_line

◆ postconditions

Components.Task.Task.postconditions

◆ returncode

Components.Task.Task.returncode

◆ task_progress_changed

Components.Task.Task.task_progress_changed

◆ weighting

Components.Task.Task.weighting

Property Documentation

◆ progress

Components.Task.Task.progress = property(getProgress, setProgress)
static

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