aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/conventionalrp/extractors/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conventionalrp/extractors/base.py')
-rw-r--r--src/conventionalrp/extractors/base.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/conventionalrp/extractors/base.py b/src/conventionalrp/extractors/base.py
new file mode 100644
index 0000000..fc42f29
--- /dev/null
+++ b/src/conventionalrp/extractors/base.py
@@ -0,0 +1,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.") \ No newline at end of file