def _clean(self):
if CleanupPolicy.EVERYTHING in self.cleanup:<EOL><INDENT>self.cleanup_containers()<EOL>self.cleanup_volumes()<EOL>self.cleanup_images()<EOL>self._clean_tmp_dirs()<EOL><DEDENT>else:<EOL><INDENT>if CleanupPolicy.CONTAINERS in self.cleanup:<EOL><INDENT>self.cleanup_containers()<EOL><DEDENT>if CleanupPolicy.VOLUMES in self.cleanup:<EOL><INDENT>self.cleanup_volumes()<EOL><DEDENT>if CleanupPolicy.IMAGES in self.cleanup:<EOL><INDENT>self.cleanup_images()<EOL><DEDENT>if CleanupPolicy.TMP_DIRS in self.cleanup:<EOL><INDENT>self._clean_tmp_dirs()<EOL><DEDENT><DEDENT>
Method for cleaning according to object cleanup policy value

:return: None