SPRAAK
Public Member Functions
spr_pylib.train.task.RemoveFilesTask Class Reference

A task that removes files. More...

+ Inheritance diagram for spr_pylib.train.task.RemoveFilesTask:
+ Collaboration diagram for spr_pylib.train.task.RemoveFilesTask:

Public Member Functions

def __init__ (self, fnames)
 
def postScan (self)
 
- Public Member Functions inherited from spr_pylib.train.task.PyTask
def __init__ (self, in_fnames, out_fnames, func, arg, kwarg)
 Constructor. More...
 
def __str__ (self)
 Returns a string representation of the task. More...
 
def run (self, host=None)
 Execute the task. More...
 
def scanForResources (self, resource_list)
 Scans for resources needed by this task. More...
 
def postScan (self)
 Hook for tasks that want to do some extra flagging of resources, eg marking versions as deleted. More...
 
- Public Member Functions inherited from spr_pylib.train.task.Task
def __init__ (self)
 Constructor. More...
 
def setCompleted (self, completed=True)
 
def isCompleted (self)
 
def getName (self)
 Return the name of this task. More...
 
def setName (self, name)
 Set the name of this task. More...
 
def scanForResources (self, resource_list)
 Abstract method. More...
 
def checkResourcesAvailable (self)
 Checks if all the resources needed to run this task are available. More...
 
def markResourcesAvailable (self)
 Mark all resources used by this task as available. More...
 
def run (self, host=None)
 Abstract method. More...
 
def canRunRemote (self)
 Indicates if this task can be run remotely. More...
 
def __str__ (self)
 Returns a string representation of the task. More...
 

Detailed Description

A task that removes files.

Constructor & Destructor Documentation

§ __init__()

def spr_pylib.train.task.RemoveFilesTask.__init__ (   self,
  fnames 
)

Member Function Documentation

§ postScan()

def spr_pylib.train.task.RemoveFilesTask.postScan (   self)