summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/backup/incremental/identifier/ObjectIdentifier.java
blob: aece07d318ed610eb10c119e01d018ea4d6d9b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.keuin.kbackupfabric.util.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();
}