
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 | |
Collects and filters data into AssetInstances of different types. This class is intended to be sub-classed and extended.
| def assetQC.api.collector.Collector.__init__ | ( | self | ) |
Reimplemented from assetQC.api.baseDataObject.BaseDataObject.

| def assetQC.api.collector.Collector.condition | ( | self, | |
| ctx | |||
| ) |
Method for sub-classes to override with a condition that the object will run in. Return True to indicate the Collector should be run, False otherwise.

| def assetQC.api.collector.Collector.logger | ( | self | ) |
| def assetQC.api.collector.Collector.postRun | ( | self, | |
| ctx | |||
| ) |
Run after the Collector '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.collector.Collector.preRun | ( | self, | |
| ctx | |||
| ) |
Run before the Collector '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.collector.Collector.run | ( | self, | |
| ctx | |||
| ) |
Runs the Collector function in the given context. 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::collector.Collector::assetTypes = [] [static] |
assetQC::api::collector.Collector::enable = True [static] |
list assetQC::api::collector.Collector::hostApps = [] [static] |
assetQC::api::collector.Collector::priority = None [static] |
1.7.6.1