Public Member Functions | |
def | __init__ |
def | getName |
def | run |
Public Attributes | |
name |
DiagnosticTask is an abstract base class for collecting diagnostic data. Subclasses are provided for generating common diagnostic information. A DiagnosticTask has a name, and a function that is called to cleate a DiagnosticStatusWrapper.
Definition at line 47 of file _diagnostic_updater.py.
def diagnostic_updater._diagnostic_updater.DiagnosticTask.__init__ | ( | self, | |
name | |||
) |
Constructs a DiagnosticTask setting its name in the process.
Reimplemented in diagnostic_updater._diagnostic_updater.CompositeDiagnosticTask.
Definition at line 55 of file _diagnostic_updater.py.
Returns the name of the DiagnosticTask.
Definition at line 59 of file _diagnostic_updater.py.
def diagnostic_updater._diagnostic_updater.DiagnosticTask.run | ( | self, | |
stat | |||
) |
Fills out this Task's DiagnosticStatusWrapper. @param stat: the DiagnosticStatusWrapper to fill @return the filled DiagnosticStatusWrapper
Reimplemented in diagnostic_updater._diagnostic_updater.CompositeDiagnosticTask, and diagnostic_updater._diagnostic_updater.FunctionDiagnosticTask.
Definition at line 63 of file _diagnostic_updater.py.
Definition at line 55 of file _diagnostic_updater.py.