diff --git a/opt/ahenk/base/scheduler/APSchedulerImpl.py b/opt/ahenk/base/scheduler/APSchedulerImpl.py new file mode 100644 index 0000000..d75eed9 --- /dev/null +++ b/opt/ahenk/base/scheduler/APSchedulerImpl.py @@ -0,0 +1,28 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# Author: İsmail BAŞARAN + +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 + diff --git a/opt/ahenk/base/scheduler/BaseScheduler.py b/opt/ahenk/base/scheduler/BaseScheduler.py new file mode 100644 index 0000000..76241fe --- /dev/null +++ b/opt/ahenk/base/scheduler/BaseScheduler.py @@ -0,0 +1,25 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# Author: İsmail BAŞARAN + +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 diff --git a/opt/ahenk/base/scheduler/SchedulerFactory.py b/opt/ahenk/base/scheduler/SchedulerFactory.py new file mode 100644 index 0000000..c6fb0b6 --- /dev/null +++ b/opt/ahenk/base/scheduler/SchedulerFactory.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# Author: İsmail BAŞARAN + +from base.scheduler.APSchedulerImpl import APSchedulerImpl + +class SchedulerFactory(): + + def get_intstance(self): + return APSchedulerImpl() \ No newline at end of file