Interface ICommitDelegator
- All Known Subinterfaces:
IOptionsServer,IServer,IStreamingServer
- All Known Implementing Classes:
CommitDelegator,NtsServerImpl,OneShotServerImpl,RpcServer,Server
public interface ICommitDelegator
-
Method Summary
Modifier and TypeMethodDescriptiongetBlobObject(String repo, String sha) Usage: cat-file -n {repo} blob {object-sha}getCommitObject(String sha) Usage: cat-file commit {object-sha}getCommitObject(String sha, String repo) Usage: cat-file -n {repo} commit {object-sha}Usage: log -n {repo} {object-sha}getGraphObject(String sha) Usage: cat-file -t {object-sha}
-
Method Details
-
getCommitObject
Usage: cat-file commit {object-sha}(requires 'super' permission)
- Parameters:
sha- graph SHA- Returns:
- graph commit object
- Throws:
P4JavaException- API error
-
getCommitObject
Usage: cat-file -n {repo} commit {object-sha}- Parameters:
sha- graph SHArepo- graph repo- Returns:
- graph commit object
- Throws:
P4JavaException- API error
-
getBlobObject
Usage: cat-file -n {repo} blob {object-sha}- Parameters:
sha- graph SHArepo- graph repo- Returns:
- InputStream of the graph file
- Throws:
P4JavaException- API error
-
getGraphObject
Usage: cat-file -t {object-sha}- Parameters:
sha- graph SHA- Returns:
- graph object
- Throws:
P4JavaException- API error
-
getGraphCommitLogList
Usage: log -n {repo} {object-sha}- Parameters:
options- graph log options- Returns:
- list of commit objects
- Throws:
P4JavaException- API error
-