def METHOD_NAME(self):
    self.getOptions()
    allJobs = self.getPaused()
    jobs = self.filterJobs(allJobs)
    if not jobs:
        print("No paused jobs that matched the filters were found...")
        return 0
    if self.action == "resume":
        self.resumeJobs(jobs)
    elif self.action == "fail":
        confirm = eval(input("Are you sure you want to fail %d jobs? Type 'Y' or 'N' (type quotes too!) :\n" % len(jobs)))
        if confirm == "Y":
            print("Failing the jobs...")
            self.failJobs(jobs)
        else:
            print("Aborting... No changes were made.")
    return 0