This commit is contained in:
Volkan Şahin 2016-04-01 14:57:22 +03:00
commit e3c16ea289
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,28 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
from base.scheduler.BaseScheduler import BaseScheduler
class APSchedulerImpl(BaseScheduler):
def initialize(self):
# Not implemented yet
pass
def add_job(self):
# Not implemented yet
pass
def add_job_by_hour(self):
# Not implemented yet
pass
def add_job_by_mount(self):
# Not implemented yet
pass
def add_job_by_minute(self):
# Not implemented yet
pass

View file

@ -0,0 +1,25 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
class BaseScheduler(object):
def initialize(self):
# Implement this from your implementation class
pass
def add_job(self):
# Implement this from your implementation class
pass
def add_job_by_hour(self):
# Implement this from your implementation class
pass
def add_job_by_mount(self):
# Implement this from your implementation class
pass
def add_job_by_minute(self):
# Implement this from your implementation class
pass

View file

@ -0,0 +1,10 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
from base.scheduler.APSchedulerImpl import APSchedulerImpl
class SchedulerFactory():
def get_intstance(self):
return APSchedulerImpl()