|
||||||||||
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()
|
boolean |
wasDeltaAttempted()
|
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()
PACK_DELTA
, PACK_WHOLE
, or
FORMAT_OTHER
.public ObjectId getDeltaBase()
getFormat()
returned PACK_DELTA
.public boolean wasDeltaAttempted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |