public class TestRepository.CommitBuilder extends Object
Modifier and Type | Method and Description |
---|---|
TestRepository.CommitBuilder |
add(String path,
RevBlob id) |
TestRepository.CommitBuilder |
add(String path,
String content) |
PersonIdent |
author() |
TestRepository.CommitBuilder |
author(PersonIdent a) |
TestRepository.CommitBuilder |
child() |
PersonIdent |
committer() |
TestRepository.CommitBuilder |
committer(PersonIdent c) |
RevCommit |
create() |
TestRepository.CommitBuilder |
edit(DirCacheEditor.PathEdit edit) |
TestRepository.CommitBuilder |
ident(PersonIdent ident) |
TestRepository.CommitBuilder |
insertChangeId() |
TestRepository.CommitBuilder |
insertChangeId(String c) |
String |
message() |
TestRepository.CommitBuilder |
message(String m) |
TestRepository.CommitBuilder |
noFiles() |
TestRepository.CommitBuilder |
noParents() |
TestRepository.CommitBuilder |
parent(RevCommit p) |
List<RevCommit> |
parents() |
TestRepository.CommitBuilder |
rm(String path) |
TestRepository.CommitBuilder |
setTopLevelTree(ObjectId treeId) |
TestRepository.CommitBuilder |
tick(int secs) |
public TestRepository.CommitBuilder parent(RevCommit p) throws Exception
Exception
public TestRepository.CommitBuilder noParents()
public TestRepository.CommitBuilder noFiles()
public TestRepository.CommitBuilder setTopLevelTree(ObjectId treeId)
public TestRepository.CommitBuilder add(String path, String content) throws Exception
Exception
public TestRepository.CommitBuilder add(String path, RevBlob id) throws Exception
Exception
public TestRepository.CommitBuilder edit(DirCacheEditor.PathEdit edit)
public TestRepository.CommitBuilder rm(String path)
public TestRepository.CommitBuilder message(String m)
public String message()
public TestRepository.CommitBuilder tick(int secs)
public TestRepository.CommitBuilder ident(PersonIdent ident)
public TestRepository.CommitBuilder author(PersonIdent a)
public PersonIdent author()
public TestRepository.CommitBuilder committer(PersonIdent c)
public PersonIdent committer()
public TestRepository.CommitBuilder insertChangeId()
public TestRepository.CommitBuilder insertChangeId(String c)
public TestRepository.CommitBuilder child() throws Exception
Exception
Copyright © 2015 Eclipse JGit Project. All rights reserved.