summaryrefslogtreecommitdiffstats
path: root/src/com/google/android/libraries/backup/BackupKeyPredicate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/google/android/libraries/backup/BackupKeyPredicate.java')
-rw-r--r--src/com/google/android/libraries/backup/BackupKeyPredicate.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/google/android/libraries/backup/BackupKeyPredicate.java b/src/com/google/android/libraries/backup/BackupKeyPredicate.java
new file mode 100644
index 0000000..6c85dbd
--- /dev/null
+++ b/src/com/google/android/libraries/backup/BackupKeyPredicate.java
@@ -0,0 +1,8 @@
+package com.google.android.libraries.backup;
+
+/** A predicate that determines whether a given key should be backed up. */
+public interface BackupKeyPredicate {
+
+ /** Returns whether a given key should be backed up. */
+ boolean shouldBeBackedUp(String key);
+}