|
def | __init__ (self, object_path=None, delay=None, policy=None, all_params=None) |
|
def | __repr__ (self) |
|
|
| object_path |
|
| delay |
|
| policy |
|
| extra_params |
|
A class to hold information about a "rule" defined in the config file.
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:
- Framework/script/RepoCleaner/repoCleaner.py