assetQC
 All Classes Namespaces Files Functions Variables
Public Member Functions | Static Public Attributes
assetQC.api.fixer.Fixer Class Reference
Inheritance diagram for assetQC.api.fixer.Fixer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def condition
def getInstance
def logger
def postRun
def preRun
def run

Static Public Attributes

list assetTypes = []
 enable = True
list hostApps = []
 priority = None

Detailed Description

Fixer objects are used to fix validation problems.

Fixer objects are linked to a Validation objects and are optionally defined 
to automatically fix validation.

Constructor & Destructor Documentation

def assetQC.api.fixer.Fixer.__init__ (   self,
  instance 
)

Here is the call graph for this function:


Member Function Documentation

def assetQC.api.fixer.Fixer.condition (   self,
  ctx 
)
Method for sub-classes to override with a condition that the object
will run in.

Return True to indicate the Fixer should be run, False otherwise.

Here is the call graph for this function:

Return the AssetInstance object this Fixer will operate on. 
def assetQC.api.fixer.Fixer.postRun (   self,
  ctx 
)
Run after the Fixer '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

Here is the caller graph for this function:

def assetQC.api.fixer.Fixer.preRun (   self,
  ctx 
)
Run before the Fixer '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

Here is the caller graph for this function:

def assetQC.api.fixer.Fixer.run (   self,
  ctx 
)
Runs the fixing function on the AssetInstance. 

Users MUST override this method in a sub-class.

:param ctx: Context of function.
:type ctx: assetQC.api.context.Context 
:return: None

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables