public class CommitBuilder extends Object
| Constructor and Description |
|---|
CommitBuilder(Id baseRevId,
String msg,
RevisionStore store) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(String parentNodePath,
String nodeName,
JsonObject node) |
void |
copyNode(String srcPath,
String destPath) |
Id |
doCommit() |
Id |
doCommit(boolean createBranch) |
Id |
doMerge() |
void |
moveNode(String srcPath,
String destPath) |
void |
removeNode(String nodePath) |
void |
setProperty(String nodePath,
String propName,
String propValue) |
public CommitBuilder(Id baseRevId, String msg, RevisionStore store) throws Exception
Exceptionpublic void addNode(String parentNodePath, String nodeName, JsonObject node) throws Exception
Exceptionpublic void removeNode(String nodePath) throws NotFoundException, Exception
NotFoundExceptionExceptionpublic void moveNode(String srcPath, String destPath) throws NotFoundException, Exception
NotFoundExceptionExceptionpublic void copyNode(String srcPath, String destPath) throws NotFoundException, Exception
NotFoundExceptionExceptionpublic void setProperty(String nodePath, String propName, String propValue) throws Exception
ExceptionCopyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.