1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.notes;
12
13 import java.io.IOException;
14 import java.util.Iterator;
15
16 import org.eclipse.jgit.lib.AnyObjectId;
17 import org.eclipse.jgit.lib.ObjectId;
18 import org.eclipse.jgit.lib.ObjectInserter;
19 import org.eclipse.jgit.lib.ObjectReader;
20
21
22
23
24
25
26
27 abstract class NoteBucket {
28 abstract Note getNote(AnyObjectId objId, ObjectReader reader)
29 throws IOException;
30
31 abstract Iterator<Note> iterator(AnyObjectId objId, ObjectReader reader)
32 throws IOException;
33
34 abstract int estimateSize(AnyObjectId noteOn, ObjectReader or)
35 throws IOException;
36
37 abstract InMemoryNoteBucket set(AnyObjectId../../../org/eclipse/jgit/lib/AnyObjectId.html#AnyObjectId">AnyObjectId noteOn, AnyObjectId noteData,
38 ObjectReader reader) throws IOException;
39
40 abstract ObjectId writeTree(ObjectInserter inserter) throws IOException;
41
42 abstract ObjectId getTreeId();
43 }