|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.storage.pack.StoredObjectRepresentation
public class StoredObjectRepresentation
An object representation PackWriter can consider for packing.
| Field Summary | |
|---|---|
static int |
FORMAT_OTHER
Only available after inflating to canonical format. |
static int |
PACK_DELTA
Stored in pack format, as a delta to another object. |
static int |
PACK_WHOLE
Stored in pack format, without delta. |
static int |
WEIGHT_UNKNOWN
Special unknown value for getWeight(). |
| Constructor Summary | |
|---|---|
StoredObjectRepresentation()
|
|
| Method Summary | |
|---|---|
ObjectId |
getDeltaBase()
|
int |
getFormat()
|
int |
getWeight()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WEIGHT_UNKNOWN
getWeight().
public static final int PACK_DELTA
public static final int PACK_WHOLE
public static final int FORMAT_OTHER
| Constructor Detail |
|---|
public StoredObjectRepresentation()
| Method Detail |
|---|
public int getWeight()
WEIGHT_UNKNOWN can be returned to indicate the
implementation doesn't know, or cannot supply the weight up
front.public int getFormat()
public ObjectId getDeltaBase()
getFormat() returned PACK_DELTA.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||