summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugin.py')
-rw-r--r--src/lib/Server/Plugin.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index 21699657f..a1d82200a 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -83,10 +83,14 @@ class Metadata(object):
raise PluginExecutionError
class Connector(object):
- '''MetadataConnectorPlugins augment client metadata instances'''
- def get_additional_metadata(self, metadata):
- '''determine additional ([groups], {k:v}) for metadata'''
- return (list(), dict())
+ '''Connector Plugins augment client metadata instances'''
+ def get_additional_groups(self, metadata):
+ '''determine additional groups for metadata'''
+ return list()
+
+ def get_additional_data(self, metadata):
+ '''determine additional data for metadata inst'''
+ return dict()
class Probing(object):
'''Signal probe capability for this plugin'''