'''
Created on 21 lut 2016

@author: luk
'''
from notifier.debugnotifier import DebugNotifier
from notifier.filenotifier import FileNotifier
from notifier.mailnotifier import MailNotifier

class NotifierFactory(object):
    '''
    classdocs
    '''


    def get(self, params):    
        if (params['notifier']['type'] == 'debug') :
            return DebugNotifier()
        if (params['notifier']['type'] == 'file') :
            return FileNotifier(params)
        if (params['notifier']['type'] == 'mail') :
            return MailNotifier(params)        
e35168015fa77d4a4bba91d2cc790b8f6712ccf9
<mask token>


class NotifierFactory(object):
    <mask token>
    <mask token>

<mask token>


class NotifierFactory(object):
    <mask token>

    def get(self, params):
        if params['notifier']['type'] == 'debug':
            return DebugNotifier()
        if params['notifier']['type'] == 'file':
            return FileNotifier(params)
        if params['notifier']['type'] == 'mail':
            return MailNotifier(params)

<mask token>


class NotifierFactory(object):
    """
    classdocs
    """

    def get(self, params):
        if params['notifier']['type'] == 'debug':
            return DebugNotifier()
        if params['notifier']['type'] == 'file':
            return FileNotifier(params)
        if params['notifier']['type'] == 'mail':
            return MailNotifier(params)

<mask token>
from notifier.debugnotifier import DebugNotifier
from notifier.filenotifier import FileNotifier
from notifier.mailnotifier import MailNotifier


class NotifierFactory(object):
    """
    classdocs
    """

    def get(self, params):
        if params['notifier']['type'] == 'debug':
            return DebugNotifier()
        if params['notifier']['type'] == 'file':
            return FileNotifier(params)
        if params['notifier']['type'] == 'mail':
            return MailNotifier(params)

'''
Created on 21 lut 2016

@author: luk
'''
from notifier.debugnotifier import DebugNotifier
from notifier.filenotifier import FileNotifier
from notifier.mailnotifier import MailNotifier

class NotifierFactory(object):
    '''
    classdocs
    '''


    def get(self, params):    
        if (params['notifier']['type'] == 'debug') :
            return DebugNotifier()
        if (params['notifier']['type'] == 'file') :
            return FileNotifier(params)
        if (params['notifier']['type'] == 'mail') :
            return MailNotifier(params)        