summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/jobs/data_retention.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/einterfaces/jobs/data_retention.go b/einterfaces/jobs/data_retention.go
new file mode 100644
index 000000000..340ed1b88
--- /dev/null
+++ b/einterfaces/jobs/data_retention.go
@@ -0,0 +1,23 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package jobs
+
+import (
+ "github.com/mattermost/platform/model"
+ "github.com/mattermost/platform/store"
+)
+
+type DataRetentionInterface interface {
+ MakeJob(store store.Store) model.Job
+}
+
+var theDataRetentionInterface DataRetentionInterface
+
+func RegisterDataRetentionInterface(newInterface DataRetentionInterface) {
+ theDataRetentionInterface = newInterface
+}
+
+func GetDataRetentionInterface() DataRetentionInterface {
+ return theDataRetentionInterface
+}