Logo Search packages:      
Sourcecode: waf version File versions  Download package

wafadmin::Task::TaskBase Class Reference

Inheritance diagram for wafadmin::Task::TaskBase:


List of all members.

Detailed Description

Base class for all Waf tasks

The most important methods are (by usual order of call):
1 runnable_status: ask the task if it should be run, skipped, or if we have to ask later
2 __str__: string to display to the user
3 run: execute the task
4 post_run: after the task is run, update the cache about the task

This class should be seen as an interface, it provides the very minimum necessary for the scheduler
so it does not do much.

For illustration purposes, TaskBase instances try to execute self.fun (if provided)

Definition at line 351 of file Task.py.

Public Member Functions

def __init__
def __repr__
def __str__
def attr
def call_run
def can_retrieve_cache
def display
def exec_command
def format_error
def hash_constraints
def install
def post_run
def run
def runnable_status

Public Attributes


Static Public Attributes

dictionary classes = {}
string color = "GREEN"
 maxjobs = MAXJOBS
 stat = None

Static Private Attributes

 __metaclass__ = store_task_type

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

Generated by  Doxygen 1.6.0   Back to index