aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/conventionalrp/extractors/base.py
blob: bc3c41ff43e2a4cc5200b8379e1701dd6008f072 (plain) (blame)
1
2
3
4
5
6
7
8
9
class BaseExtractor:
    def __init__(self):
        self.rules = []

    def extract(self, log_data):
        raise NotImplementedError("Subclasses should implement this method.")

    def load_rules(self, rules_source):
        raise NotImplementedError("Subclasses should implement this method.")