public class MutableCommit extends AbstractCommit
branchRootId, changes, commitTS, msg, parentId, rootNodeId| Constructor and Description |
|---|
MutableCommit() |
MutableCommit(StoredCommit other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Id |
getId()
Return the commit id.
|
void |
setBranchRootId(Id branchRootId) |
void |
setChanges(String changes) |
void |
setCommitTS(long commitTS) |
void |
setMsg(String msg) |
void |
setParentId(Id parentId) |
void |
setRootNodeId(Id rootNodeId) |
getBranchRootId, getChanges, getCommitTS, getMemory, getMsg, getParentId, getRootNodeId, serialize, toStringpublic MutableCommit()
public MutableCommit(StoredCommit other)
other - other commitpublic void setParentId(Id parentId)
public void setRootNodeId(Id rootNodeId)
public void setCommitTS(long commitTS)
public void setMsg(String msg)
public void setChanges(String changes)
public void setBranchRootId(Id branchRootId)
public Id getId()
Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.