QualityControl  1.5.1
O2 Data Quality Control Framework
repoCleaner.Rule Class Reference
Collaboration diagram for repoCleaner.Rule:

Public Member Functions

def __init__ (self, object_path=None, delay=None, policy=None, all_params=None)
 
def __repr__ (self)
 

Public Attributes

 object_path
 
 delay
 
 policy
 
 extra_params
 

Detailed Description

A class to hold information about a "rule" defined in the config file.

Constructor & Destructor Documentation

def repoCleaner.Rule.__init__ (   self,
  object_path = None,
  delay = None,
  policy = None,
  all_params = None 
)
Constructor.
:param object_path: path to the object, or pattern, to which a rule will apply.
:param delay: the grace period during which a new object is never deleted.
:param policy: which policy to apply in order to clean up. It should correspond to a plugin.
:param all_params: a map with all the parameters from the config file for this rule. We will keep only the
extra ones.

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