| Modifier and Type | Field and Description |
|---|---|
| private Ref | |
| private final DfsRefDatabase | |
| private RevWalk |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected RefUpdate. | doDelete(RefUpdate.
a desiredResultorg. object.Implements abstract org. Do delete |
| protected RefUpdate. | doLink(String
a target)java. object.Implements abstract org. Do link |
| protected RefUpdate. | doUpdate(RefUpdate.
a desiredResultorg. object.Implements abstract org. Do update |
| protected DfsRefDatabase | getRefDatabase()
Implements abstract org. Get the reference database this update modifies. |
| protected DfsRepository | getRepository()
Implements abstract org. Get the repository storing the database's objects. |
| protected boolean | tryLock(boolean
true if the lock should be taken against the leaf level
reference; false if it should be taken exactly against the
current reference. deref)Implements abstract org. Try to acquire the lock on the reference. |
| protected void | unlock()
Implements abstract org. Releases the lock taken by |
| public RefUpdate. | update(RevWalk
a RevWalk instance this update command can borrow to perform
the merge test. The walk will be reset to perform the test. walk)Overrides org. Gracefully update the ref to the new value. |
| dstRef | back to summary |
|---|---|
| private Ref dstRef | |
| refdb | back to summary |
|---|---|
| private final DfsRefDatabase refdb | |
| rw | back to summary |
|---|---|
| private RevWalk rw | |
| DfsRefUpdate | back to summary |
|---|---|
| pack-priv DfsRefUpdate(DfsRefDatabase refdb, Ref ref) | |
| doDelete | back to summary |
|---|---|
| protected RefUpdate. Implements abstract org. Doc from org. Do delete
| |
| doLink | back to summary |
|---|---|
| protected RefUpdate. Implements abstract org. Doc from org. Do link
| |
| doUpdate | back to summary |
|---|---|
| protected RefUpdate. Implements abstract org. Doc from org. Do update
| |
| getRefDatabase | back to summary |
|---|---|
| protected DfsRefDatabase getRefDatabase() Implements abstract org. Doc from org. Get the reference database this update modifies.
| |
| getRepository | back to summary |
|---|---|
| protected DfsRepository getRepository() Implements abstract org. Doc from org. Get the repository storing the database's objects.
| |
| tryLock | back to summary |
|---|---|
| protected boolean tryLock(boolean deref) throws IOException Implements abstract org. Doc from org. Try to acquire the lock on the reference.
If the locking was successful the implementor must set the current
identity value by calling
| |
| unlock | back to summary |
|---|---|
| protected void unlock() Implements abstract org. Doc from org. Releases the lock taken by
| |
| update | back to summary |
|---|---|
| public RefUpdate. Overrides org. Doc from org. Gracefully update the ref to the new value.
Merge test will be performed according to
| |