summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/incremental/identifier/ObjectIdentifier.java
blob: 07cd390ec9eadfb78b3a2a2df0629885533e34ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.keuin.kbackupfabric.backup.incremental.identifier;

import java.io.Serializable;

/**
 * The identifier distinguishing files in the object collection.
 * It should be based on cryptographic hash function in order to prevent possible attacks to the backup system.
 * All identifiers should be immutable and implement their own equals method.
 * Immutable.
 */
public interface ObjectIdentifier extends Serializable {
    String getIdentification();
}