class AdministrationValidator:
    """ Contains all the tools to analyse Blackboard assignments """
    errors = 0

    def __init__(self):
        self.settings = Settings()
        self.mylogger = Logger(self.settings.logfile)
        self.reporter = Reporter(self.settings)
        self.analyser = Analyser(self.settings, self.reporter, self.mylogger)

    def run(self):
        #""" Run the program (call this from main) """
        self.analyser.run()
        self.reporter.run()

    def exit_value(self):
        #"""TODO: Generate the exit value for the application."""
        if (self.errors == 0):
            return 0
        else:
            return 42
 def __init__(self):
     self.settings = Settings()
     self.mylogger = Logger(self.settings.logfile)
     self.reporter = Reporter(self.settings)
     self.analyser = Analyser(self.settings, self.reporter, self.mylogger)