All Downloads are FREE. Search and download functionalities are using the official Maven repository.

home.lib.jython.alertlib.ScriptHandler.py Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
class ScriptHandler(object):
    """Base handler class for all script alerts
    """
    def __init__(self, config, baseline):
        """
        Keyword arguments:
        config -- A com.googlecode.fascinator.common.JsonSimple instance with configuration items
        baseline -- An object containing a base set of data for the alert        
        """
        self.config = config
        self.baseline = baseline
        
        
        
    def process(self, data):
        """
        Keyword arguments:
        data -- a single entry from the alert (e.g. a CSV row)
        """
        return 0




© 2015 - 2024 Weber Informatics LLC | Privacy Policy