enigma2  2.6
Public Member Functions | Public Attributes | Properties | List of all members
Components.Task.Task Class Reference
Inheritance diagram for Components.Task.Task:
Plugins.Extensions.Browser.Downloads.DownloadTask 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.DemuxTask Plugins.Extensions.DVDBurn.Process.DVDAuthorFinalTask Plugins.Extensions.DVDBurn.Process.DVDAuthorTask Plugins.Extensions.DVDBurn.Process.ImagePrepareTask Plugins.Extensions.DVDBurn.Process.LinkTS Plugins.Extensions.DVDBurn.Process.MakeFifoNode Plugins.Extensions.DVDBurn.Process.MenuImageTask Plugins.Extensions.DVDBurn.Process.mpeg2encTask Plugins.Extensions.DVDBurn.Process.MplexTask Plugins.Extensions.DVDBurn.Process.png2yuvTask Plugins.Extensions.DVDBurn.Process.PreviewTask Plugins.Extensions.DVDBurn.Process.RemoveESFiles Plugins.Extensions.DVDBurn.Process.RemoveWorkspaceFolder Plugins.Extensions.DVDBurn.Process.spumuxTask Plugins.Extensions.DVDBurn.Process.WaitForResidentTasks

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)
 

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
 
 appClosed_conn
 
 stdoutAvail_conn
 
 stderrAvail_conn
 

Properties

 progress = property(getProgress, setProgress)
 

Constructor & Destructor Documentation

◆ __init__()

def Components.Task.Task.__init__ (   self,
  job,
  name 
)

Member Function Documentation

◆ abort()

def Components.Task.Task.abort (   self)

◆ afterRun()

def Components.Task.Task.afterRun (   self)

◆ 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()

def Components.Task.Task.prepare (   self)

◆ processFinished()

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

◆ processOutput()

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

◆ processOutputLine()

def Components.Task.Task.processOutputLine (   self,
  line 
)

◆ processStderr()

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

◆ processStdout()

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

◆ run()

def Components.Task.Task.run (   self,
  callback 
)

◆ 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

◆ appClosed_conn

Components.Task.Task.appClosed_conn

◆ 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

◆ stderrAvail_conn

Components.Task.Task.stderrAvail_conn

◆ stdoutAvail_conn

Components.Task.Task.stdoutAvail_conn

◆ 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: