public class CommitDelegator extends BaseDelegator implements ICommitDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
CommitDelegator(IOptionsServer server)
Instantiates a new graph commit delegator.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBlobObject(String repo,
String sha)
Usage: cat-file -n {repo} blob {object-sha}
|
ICommit |
getCommitObject(String sha)
Usage: cat-file commit {object-sha}
(requires 'super' permission)
|
ICommit |
getCommitObject(String sha,
String repo)
Usage: cat-file -n {repo} commit {object-sha}
|
List<ICommit> |
getGraphCommitLogList(GraphCommitLogOptions options)
Returns a List
|
IGraphObject |
getGraphObject(String sha)
Usage: cat-file -t {object-sha}
|
public CommitDelegator(IOptionsServer server)
server - the serverpublic ICommit getCommitObject(String sha) throws P4JavaException
ICommitDelegatorgetCommitObject in interface ICommitDelegatorP4JavaExceptionpublic ICommit getCommitObject(String sha, String repo) throws P4JavaException
ICommitDelegatorgetCommitObject in interface ICommitDelegatorP4JavaExceptionpublic InputStream getBlobObject(String repo, String sha) throws P4JavaException
ICommitDelegatorgetBlobObject in interface ICommitDelegatorP4JavaExceptionpublic IGraphObject getGraphObject(String sha) throws P4JavaException
ICommitDelegatorgetGraphObject in interface ICommitDelegatorP4JavaExceptionpublic List<ICommit> getGraphCommitLogList(GraphCommitLogOptions options) throws P4JavaException
getGraphCommitLogList in interface ICommitDelegatoroptions - Various options supported by the commandP4JavaExceptionCopyright © 2017 Perforce Software. All Rights Reserved.