Public Member Functions | |
def | __init__ |
def | condition |
def | logger |
def | postRun |
def | preRun |
def | run |
Static Public Attributes | |
list | assetTypes = [] |
enable = True | |
list | hostApps = [] |
priority = None |
Reports the context and status of the 'Asset QC' operation. This class is intended to be sub-classed and extended.
def assetQC.api.reporter.Reporter.__init__ | ( | self | ) |
Reimplemented from assetQC.api.baseDataObject.BaseDataObject.
def assetQC.api.reporter.Reporter.condition | ( | self, | |
ctx | |||
) |
Method for sub-classes to override with a condition that the object will run in. Return True to indicate the Reporter should be run, False otherwise.
def assetQC.api.reporter.Reporter.logger | ( | self | ) |
def assetQC.api.reporter.Reporter.postRun | ( | self, | |
ctx | |||
) |
Run after the Reporter 'run' method. Users can optionally override this method in a sub-class. :param ctx: Context of function. :type ctx: assetQC.api.context.Context :return: None
def assetQC.api.reporter.Reporter.preRun | ( | self, | |
ctx | |||
) |
Run before the Reporter 'run' method. Users can optionally override this method in a sub-class. :param ctx: Context of function. :type ctx: assetQC.api.context.Context :return: None
def assetQC.api.reporter.Reporter.run | ( | self, | |
ctx | |||
) |
Runs the reporter function for the Context given. Users MUST override this method in a sub-class. :param ctx: Context of function. :type ctx: assetQC.api.context.Context :return: None
list assetQC::api::reporter.Reporter::assetTypes = [] [static] |
assetQC::api::reporter.Reporter::enable = True [static] |
list assetQC::api::reporter.Reporter::hostApps = [] [static] |
assetQC::api::reporter.Reporter::priority = None [static] |