Package | Description |
---|---|
com.perforce.p4java.client |
Provides interfaces for accessing and manipulating Perforce client workspaces and associated objects.
|
com.perforce.p4java.common.base | |
com.perforce.p4java.core |
Provides interfaces and classes for defining and accessing Perforce objects
such as jobs, changelists, etc., and, through the file sub-package, Perforce
files.
|
com.perforce.p4java.core.file |
Provides interfaces and classes for defining and accessing Perforce depot and workspace files.
|
com.perforce.p4java.impl.generic.core |
Provides standard implementation classes for the com.perforce.p4java.core interfaces.
|
com.perforce.p4java.impl.generic.core.file |
Provides standard implementation classes for the com.perforce.p4java.core.file interfaces.
|
com.perforce.p4java.impl.mapbased.client | |
com.perforce.p4java.impl.mapbased.rpc | |
com.perforce.p4java.impl.mapbased.rpc.packet | |
com.perforce.p4java.impl.mapbased.server | |
com.perforce.p4java.impl.mapbased.server.cmd | |
com.perforce.p4java.server |
Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services.
|
com.perforce.p4java.server.delegator |
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileSpec> |
IClient.addFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
int changeListId,
java.lang.String fileType,
boolean useWildcards)
Open one or more Perforce client workspace files for adding to the Perforce server.
|
IChangelist |
IClient.createChangelist(IChangelist newChangelist)
Create a new changelist for this Perforce client in the associated Perforce server.
|
java.util.List<IFileSpec> |
IClient.deleteFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId,
boolean noUpdate)
Open Perforce client workspace files for deletion from a Perforce depot.
|
java.util.List<IFileSpec> |
IClient.editFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
boolean bypassClientUpdate,
int changeListId,
java.lang.String fileType)
Open one or more Perforce client workspace files for editing.
|
java.util.List<IFileSpec> |
IClient.getDiffFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
boolean diffNonTextFiles,
boolean openedDifferentMissing,
boolean openedForIntegrate,
boolean unopenedMissing,
boolean unopenedDifferent,
boolean unopenedWithStatus,
boolean openedSame)
Return a list of files that differ in some (arbitrarily complex)
way from depot.
|
java.util.List<IRepo> |
IClient.getRepos()
Gets the repos mapped within the client's view.
|
java.util.List<IFileSpec> |
IClient.graphHaveList(java.util.List<IFileSpec> fileSpecs)
Return a list of all Perforce-managed repos that the Perforce server believes
this Perforce client workspace has as of the latest sync.
|
java.util.List<IFileSpec> |
IClient.haveList(java.util.List<IFileSpec> fileSpecs)
Return a list of all Perforce-managed files and versions that the Perforce server
believes this Perforce client workspace has as of the latest sync.
|
java.util.List<IFileSpec> |
IClient.integrateFiles(int changeListId,
boolean showActionsOnly,
IntegrationOptions integOpts,
java.lang.String branchSpec,
IFileSpec fromFile,
IFileSpec toFile)
Integrate ("merge") from one Perforce filespec to another.
|
java.util.List<IFileSpec> |
IClient.labelSync(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean noUpdate,
boolean addFiles,
boolean deleteFiles)
Perform a label sync operation for this client.
|
java.util.List<IFileSpec> |
IClient.lockFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId)
Lock an opened file against changelist submission.
|
java.util.List<IFileSpec> |
IClient.openedFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
int changeListId)
If one or more Perforce file specs is passed-in, return the opened / locked status
of each file (if known) within an IFileSpec object; otherwise
return a list of all files known to be open for this Perforce client workspace.
|
java.util.List<IFileSpec> |
IClient.reopenFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String fileType)
Reopen Perforce files in a new changelist.
|
java.util.List<IFileSpec> |
IClient.resolvedFiles(java.util.List<IFileSpec> fileSpecs,
boolean showBaseRevision)
Return a list of files resolved but not submitted for this client.
|
IFileSpec |
IClient.resolveFile(IFileSpec targetFile,
java.io.InputStream sourceStream)
Resolve a file integration by using the contents of the sourceStream InputStream
as the resolve result.
|
IFileSpec |
IClient.resolveFile(IFileSpec targetFile,
java.io.InputStream sourceStream,
boolean useTextualMerge,
int startFromRev,
int endFromRev)
Resolve a file integration by using the contents of the sourceStream InputStream
as the resolve result.
|
java.util.List<IFileSpec> |
IClient.resolveFilesAuto(java.util.List<IFileSpec> fileSpecs,
boolean safeMerge,
boolean acceptTheirs,
boolean acceptYours,
boolean showActionsOnly,
boolean forceResolve)
Automatically resolve the results of a previousPerforce file integration.
|
java.util.List<IFileSpec> |
IClient.revertFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
int changeListId,
boolean revertOnlyUnchanged,
boolean noRefresh)
Revert a open Perforce client workspace files back to the revision previously synced
from the Perforce depot, discarding any pending changelists or integrations that
have been made so far.
|
java.util.List<IFileSpec> |
IClient.shelveChangelist(IChangelist list)
Shelve the file(s) in a pending changelist.
|
java.util.List<IFileSpec> |
IClient.shelveChangelist(int changelistId,
java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean replace,
boolean discard)
Update/replace/delete shelved file(s) from a pending changelist.
|
java.util.List<IFileSpec> |
IClient.sync(java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean noUpdate,
boolean clientBypass,
boolean serverBypass)
Sync a Perforce client workspace against the Perforce server.
|
java.util.List<IFileSpec> |
IClient.unlockFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId,
boolean force)
Release locked files but leave them open.
|
java.util.List<IFileSpec> |
IClient.unshelveChangelist(int shelveChangelistId,
java.util.List<IFileSpec> fileSpecs,
int clientChangelistId,
boolean forceOverwrite,
boolean previewOnly)
Unshelve file(s) from a shelved changelist
|
java.util.List<IFileSpec> |
IClient.where(java.util.List<IFileSpec> fileSpecs)
For each of the passed-in file specs, show how the named file maps through
the client view.
|
Modifier and Type | Method and Description |
---|---|
static void |
P4JavaExceptions.throwAccessExceptionIfConditionFails(boolean expression,
java.lang.String message,
java.lang.Object... args)
If the check
expression fails; then ConnectionException will throw
with given error message message |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
IChangelist.getCachedJobIdList()
Return a cached list of job Id's associated with this changelist.
|
java.io.InputStream |
IChangelist.getDiffs(DiffType diffType)
Get an InputStream onto the file diffs associated with this changelist.
|
java.util.List<IFileSpec> |
IChangelist.getFiles(boolean refresh)
Get the list of files associated with this changelist, optionally refreshing
the list from the server.
|
java.util.List<java.lang.String> |
IChangelist.getJobIds()
Return a list of Perforce jobs IDs for jobs marked as associated with
this changelist.
|
java.util.List<IJob> |
IChangelist.getJobs()
Return a list of Perforce jobs marked as associated with
this changelist.
|
void |
IChangelist.refresh()
Refresh this changelist directly from the server.
|
void |
IServerResource.refresh()
Refresh the underlying object from the Perforce server.
|
java.util.List<IFileSpec> |
IChangelist.submit(boolean reOpen)
Submit this changelist.
|
java.util.List<IFileSpec> |
IChangelist.submit(boolean reOpen,
java.util.List<java.lang.String> jobIds,
java.lang.String jobStatus)
Submit this changelist and associate it with the passed-in jobs.
|
void |
ILabel.update()
Update (or even create) this label on the associated Perforce server,
if that server has been set for this label.
|
void |
IServerResource.update()
Update the Perforce server object associated with the underlying P4Java object,
if possible.
|
void |
IUser.update(boolean force)
Updates this user on the Perforce server; if force is
true, force the change (requires super user / admin
privileges to work properly).
|
void |
IServerResource.update(boolean force)
Force (if true) update the Perforce server object associated with the underlying
P4Java object, if possible.
|
void |
IServerResource.update(Options opts)
Update the Perforce server object associated with the underlying P4Java object
and its options, if possible.
|
java.lang.String |
ILabel.updateOnServer()
Deprecated.
use update() instead.
|
java.lang.String |
IJob.updateOnServer()
Deprecated.
use the IServerResource update method instead if possible.
|
void |
IChangelist.updateOnServer(boolean refresh)
Deprecated.
use update optionally followed by refresh()
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileAnnotation> |
IFileSpec.getAnnotations(DiffType wsOptions,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches)
Get the file annotations associated with this file.
|
java.io.InputStream |
IFileSpec.getContents(boolean noHeaderLine)
Get the contents of this specific Perforce file revision from the Perforce
depot as an InputStream.
|
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
IFileSpec.getRevisionHistory(int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput)
Get the revision history of this Perforce file.
|
java.util.List<IFileSpec> |
IFileSpec.move(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec toFile)
Move this file if it's already opened for edit or add (the fromFile) to the destination
file (the toFile).
|
Modifier and Type | Method and Description |
---|---|
void |
ServerResource.complete() |
void |
JobSpec.complete()
Completing a job spec calls
JobSpec.refresh() and updates the
#isComplete() flag. |
java.util.List<java.lang.String> |
Changelist.getCachedJobIdList() |
java.io.InputStream |
Changelist.getDiffs(DiffType diffType) |
java.util.List<IFileSpec> |
Changelist.getFiles(boolean refresh) |
java.util.List<IFileSpec> |
Changelist.getFiles(boolean refresh,
boolean bypassServer) |
java.util.List<java.lang.String> |
Changelist.getJobIds() |
java.util.List<IJob> |
Changelist.getJobs() |
void |
Changelist.refresh() |
void |
Job.refresh()
This method will refresh by getting the complete job model.
|
void |
ServerResource.refresh() |
void |
UserGroup.refresh() |
void |
Label.refresh()
This method will refresh by getting the complete label model.
|
void |
BranchSpec.refresh()
This method will refresh by getting the complete branch model.
|
void |
User.refresh() |
void |
JobSpec.refresh()
This method will refresh by getting the complete job spec model.
|
void |
Stream.refresh()
This method will refresh by getting the complete stream model.
|
java.util.List<IFileSpec> |
Changelist.submit(boolean reOpen) |
java.util.List<IFileSpec> |
Changelist.submit(boolean reOpen,
java.util.List<java.lang.String> jobIds,
java.lang.String jobStatus) |
void |
Changelist.update() |
void |
Job.update() |
void |
ServerResource.update() |
void |
UserGroup.update() |
void |
Label.update() |
void |
BranchSpec.update() |
void |
User.update() |
void |
Stream.update() |
void |
Changelist.update(boolean force) |
void |
ServerResource.update(boolean force) |
void |
User.update(boolean force) |
void |
Stream.update(boolean force) |
void |
Changelist.update(Options opts) |
void |
ServerResource.update(Options opts) |
java.lang.String |
Job.updateOnServer()
NOTE: do not use this method if the server field has not been set.
|
java.lang.String |
Label.updateOnServer() |
void |
Changelist.updateOnServer(boolean refresh) |
Constructor and Description |
---|
BranchSpec(IBranchSpecSummary summary)
Construct a new BranchSpec from the passed-in summary branch spec.
|
Changelist(IChangelistSummary summary,
IOptionsServer server,
boolean refresh)
Construct a new Changelist using the passed-in changelist as a template.
|
Changelist(IChangelistSummary summary,
IServer server,
boolean refresh)
Deprecated.
|
Label(ILabelSummary labelSummary)
Given an ILabelSummary object, construct a new Label object from it.
|
Stream(IStreamSummary summary)
Construct a new Stream from the passed-in summary stream spec.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileAnnotation> |
FileSpec.getAnnotations(DiffType wsOptions,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches) |
java.io.InputStream |
FileSpec.getContents(boolean noHeaderLine) |
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
FileSpec.getRevisionHistory(int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput) |
java.util.List<IFileSpec> |
FileSpec.move(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec toFile) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IFileSpec> |
Client.addFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
int changeListId,
java.lang.String fileType,
boolean useWildcards) |
void |
Client.complete()
Completing a client calls
Client.refresh() . |
IChangelist |
Client.createChangelist(IChangelist newChangelist) |
java.util.List<IFileSpec> |
Client.deleteFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId,
boolean noUpdate) |
java.util.List<IFileSpec> |
Client.editFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
boolean bypassClientUpdate,
int changeListId,
java.lang.String fileType) |
java.util.List<IFileSpec> |
Client.getDiffFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
boolean diffNonTextFiles,
boolean openedDifferentMissing,
boolean openedForIntegrate,
boolean unopenedMissing,
boolean unopenedDifferent,
boolean unopenedWithStatus,
boolean openedSame) |
java.util.List<IRepo> |
Client.getRepos() |
java.util.List<IFileSpec> |
Client.graphHaveList(java.util.List<IFileSpec> fileSpecs) |
java.util.List<IFileSpec> |
Client.haveList(java.util.List<IFileSpec> fileSpecs) |
java.util.List<IFileSpec> |
Client.integrateFiles(int changeListId,
boolean showActionsOnly,
IntegrationOptions integOpts,
java.lang.String branchSpec,
IFileSpec fromFile,
IFileSpec toFile) |
java.util.List<IFileSpec> |
Client.labelSync(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean noUpdate,
boolean addFiles,
boolean deleteFiles) |
java.util.List<IFileSpec> |
Client.lockFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId) |
java.util.List<IFileSpec> |
Client.openedFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
int changeListId) |
void |
Client.refresh()
This method will refresh by getting the complete client model.
|
java.util.List<IFileSpec> |
Client.reopenFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String fileType) |
java.util.List<IFileSpec> |
Client.resolvedFiles(java.util.List<IFileSpec> fileSpecs,
boolean showBaseRevision) |
IFileSpec |
Client.resolveFile(IFileSpec targetFile,
java.io.InputStream sourceStream) |
IFileSpec |
Client.resolveFile(IFileSpec targetFile,
java.io.InputStream sourceStream,
boolean useTextualMerge,
int startFromRev,
int endFromRev) |
java.util.List<IFileSpec> |
Client.resolveFilesAuto(java.util.List<IFileSpec> fileSpecs,
boolean safeMerge,
boolean acceptTheirs,
boolean acceptYours,
boolean showActionsOnly,
boolean forceResolve) |
java.util.List<IFileSpec> |
Client.revertFiles(java.util.List<IFileSpec> fileSpecs,
boolean noUpdate,
int changeListId,
boolean revertOnlyUnchanged,
boolean noRefresh) |
java.util.List<IFileSpec> |
Client.shelveChangelist(IChangelist list) |
java.util.List<IFileSpec> |
Client.shelveChangelist(int changelistId,
java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean replace,
boolean discard) |
java.util.List<IFileSpec> |
Client.sync(java.util.List<IFileSpec> fileSpecs,
boolean forceUpdate,
boolean noUpdate,
boolean clientBypass,
boolean serverBypass) |
java.util.List<IFileSpec> |
Client.unlockFiles(java.util.List<IFileSpec> fileSpecs,
int changeListId,
boolean force) |
java.util.List<IFileSpec> |
Client.unshelveChangelist(int shelveChangelistId,
java.util.List<IFileSpec> fileSpecs,
int clientChangelistId,
boolean forceOverwrite,
boolean previewOnly) |
void |
Client.update() |
void |
Client.update(boolean force) |
java.util.List<IFileSpec> |
Client.where(java.util.List<IFileSpec> fileSpecs) |
Constructor and Description |
---|
Client(IClientSummary clientSummary,
boolean refresh)
Construct a new Client object using the passed-in client summary object as a partial
template.
|
Client(IClientSummary clientSummary,
IServer serverImpl,
boolean refresh)
Construct a new Client object using the passed-in client summary object as a partial
template along with the passed-in IServer object.
|
Modifier and Type | Method and Description |
---|---|
void |
RpcServer.connect()
Try to establish an actual RPC connection to the target Perforce server.
|
void |
NtsServerImpl.connect()
Try to establish an actual RPC connection to the target Perforce server.
|
void |
OneShotServerImpl.connect() |
void |
RpcServer.disconnect()
Try to cleanly disconnect from the Perforce server at the other end of
the current connection (with the emphasis on "cleanly").
|
void |
NtsServerImpl.disconnect()
Try to cleanly disconnect from the Perforce server at the other end
of the current connection (with the emphasis on "cleanly").
|
void |
OneShotServerImpl.disconnect() |
java.util.Map<java.lang.String,java.lang.Object>[] |
NtsServerImpl.execMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
java.util.Map<java.lang.String,java.lang.Object>[] |
OneShotServerImpl.execMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
protected java.util.Map<java.lang.String,java.lang.Object>[] |
OneShotServerImpl.execMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
java.lang.String inString,
boolean ignoreCallbacks,
IStreamingCallback callback,
int callbackKey) |
protected java.util.Map<java.lang.String,java.lang.Object>[] |
NtsServerImpl.execMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
java.lang.String inString,
boolean ignoreCallbacks,
IStreamingCallback callback,
int callbackKey,
IFilterCallback filterCallback) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
NtsServerImpl.execMapCmdList(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
OneShotServerImpl.execMapCmdList(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
NtsServerImpl.execMapCmdList(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
java.lang.String inString,
boolean ignoreCallbacks,
IStreamingCallback callback,
int callbackKey,
IFilterCallback filterCallback,
IParallelCallback parallelCallback) |
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
OneShotServerImpl.execMapCmdList(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
java.lang.String inString,
boolean ignoreCallbacks,
IStreamingCallback callback,
int callbackKey,
IFilterCallback filterCallback,
IParallelCallback parallelCallback) |
java.util.Map<java.lang.String,java.lang.Object>[] |
NtsServerImpl.execQuietMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
java.util.Map<java.lang.String,java.lang.Object>[] |
OneShotServerImpl.execQuietMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
java.io.InputStream |
NtsServerImpl.execQuietStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs) |
java.io.InputStream |
OneShotServerImpl.execQuietStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs) |
java.io.InputStream |
NtsServerImpl.execStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs) |
java.io.InputStream |
OneShotServerImpl.execStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs) |
protected java.io.InputStream |
NtsServerImpl.execStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
java.lang.String inString,
boolean ignoreCallbacks)
Note that this method does the access / request exception processing here rather
than passing things up the stack; we may introduce an extended version of this
method to take the map array as an output parameter in later releases.
|
protected java.io.InputStream |
OneShotServerImpl.execStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
java.lang.String inString,
boolean ignoreCallbacks)
Note that this method does the access / request exception processing here rather
than passing things up the stack; we may introduce an extended version of this
method to take the map array as an output parameter in later releases.
|
protected ExternalEnv |
OneShotServerImpl.setupCmd(RpcPacketDispatcher dispatcher,
RpcConnection rpcConnection,
ProtocolCommand protocolSpecs,
java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
boolean ignoreCallbacks,
int cmdCallBackKey,
boolean isStream)
Factors out the command setup that's common to stream and map commands.
|
protected ExternalEnv |
NtsServerImpl.setupCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap,
boolean ignoreCallbacks,
int cmdCallBackKey,
boolean isStream)
Factors out the command setup that's common to stream and map commands.
|
boolean |
RpcServer.supportsSmartMove() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
RpcPacketDispatcher.dispatch(CommandEnv cmdEnv)
Top-level dispatcher method.
|
Modifier and Type | Method and Description |
---|---|
void |
Server.connect() |
java.lang.String |
Server.createBranchSpec(IBranchSpec branchSpec) |
java.lang.String |
Server.createClient(IClient newClient) |
IJob |
Server.createJob(java.util.Map<java.lang.String,java.lang.Object> fieldMap) |
java.lang.String |
Server.createLabel(ILabel label) |
java.lang.String |
Server.createUser(IUser user,
boolean force) |
java.lang.String |
Server.createUserGroup(IUserGroup group) |
java.lang.String |
Server.deleteBranchSpec(java.lang.String branchSpecName,
boolean force) |
java.lang.String |
Server.deleteClient(java.lang.String clientName,
boolean force) |
void |
Server.deleteCounter(java.lang.String counterName,
boolean perforceCounter) |
java.lang.String |
Server.deleteJob(java.lang.String jobId) |
java.lang.String |
Server.deleteLabel(java.lang.String labelName,
boolean force) |
java.lang.String |
Server.deletePendingChangelist(int id) |
java.lang.String |
Server.deleteUser(java.lang.String userName,
boolean force) |
java.lang.String |
Server.deleteUserGroup(IUserGroup group) |
void |
Server.disconnect() |
java.util.List<IFix> |
Server.fixJobs(java.util.List<java.lang.String> jobIds,
int changeListId,
java.lang.String status,
boolean delete) |
IBranchSpec |
Server.getBranchSpec(java.lang.String name) |
java.util.List<IBranchSpecSummary> |
Server.getBranchSpecs(java.lang.String userName,
java.lang.String nameFilter,
int maxReturns) |
IChangelist |
Server.getChangelist(int id) |
java.io.InputStream |
Server.getChangelistDiffs(int id,
DiffType diffType) |
java.io.InputStream |
Server.getChangelistDiffsStream(int id,
DescribeOptions options) |
java.util.List<IFileSpec> |
Server.getChangelistFiles(int id) |
java.util.List<IFileSpec> |
Server.getChangelistFiles(int id,
int max) |
java.util.List<IChangelistSummary> |
Server.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
boolean submittedOnly,
boolean pendingOnly,
boolean longDesc) |
java.util.List<IChangelistSummary> |
Server.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
IChangelist.Type type,
boolean longDesc) |
IClient |
Server.getClient(IClientSummary clientSummary) |
IClient |
Server.getClient(java.lang.String clientName) |
java.util.List<IClientSummary> |
Server.getClients(java.lang.String userName,
java.lang.String nameFilter,
int maxResults) |
IClient |
Server.getClientTemplate(java.lang.String clientName) |
IClient |
Server.getClientTemplate(java.lang.String clientName,
boolean allowExistent) |
java.util.List<IFileSpec> |
Server.getCommitFiles(java.lang.String repo,
java.lang.String commit) |
java.lang.String |
Server.getCounter(java.lang.String counterName) |
java.util.Map<java.lang.String,java.lang.String> |
Server.getCounters() |
java.util.List<IFileSpec> |
Server.getDepotFiles(java.util.List<IFileSpec> fileSpecs,
boolean allRevs) |
java.util.List<IDepot> |
Server.getDepots() |
java.util.List<IFileSpec> |
Server.getDirectories(java.util.List<IFileSpec> fileSpecs,
boolean clientOnly,
boolean deletedOnly,
boolean haveListOnly) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
Server.getExportRecords(boolean useJournal,
long maxRecs,
int sourceNum,
long offset,
boolean format,
java.lang.String journalPrefix,
java.lang.String filter) |
java.util.List<IExtendedFileSpec> |
Server.getExtendedFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
int sinceChangelist,
int affectedByChangelist,
FileStatOutputOptions outputOptions,
FileStatAncilliaryOptions ancilliaryOptions) |
java.util.List<IFileAnnotation> |
Server.getFileAnnotations(java.util.List<IFileSpec> fileSpecs,
DiffType wsOpts,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches) |
java.io.InputStream |
Server.getFileContents(java.util.List<IFileSpec> fileSpecs,
boolean allrevs,
boolean noHeaderLine) |
java.util.List<IFileDiff> |
Server.getFileDiffs(IFileSpec file1,
IFileSpec file2,
java.lang.String branchSpecName,
DiffType diffType,
boolean quiet,
boolean includeNonTextDiffs,
boolean gnuDiffs) |
java.util.List<IFix> |
Server.getFixList(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String jobId,
boolean includeIntegrations,
int maxFixes) |
java.util.List<IChangelist> |
Server.getInterchanges(IFileSpec fromFile,
IFileSpec toFile,
boolean showFiles,
boolean longDesc,
int maxChangelistId) |
java.util.List<IChangelist> |
Server.getInterchanges(java.lang.String branchSpecName,
java.util.List<IFileSpec> fromFileList,
java.util.List<IFileSpec> toFileList,
boolean showFiles,
boolean longDesc,
int maxChangelistId,
boolean reverseMapping,
boolean biDirectional) |
IJob |
Server.getJob(java.lang.String jobId) |
java.util.List<IJob> |
Server.getJobs(java.util.List<IFileSpec> fileSpecs,
int maxJobs,
boolean longDescriptions,
boolean reverseOrder,
boolean includeIntegrated,
java.lang.String jobView) |
IJobSpec |
Server.getJobSpec() |
ILabel |
Server.getLabel(java.lang.String labelName) |
java.util.List<ILabelSummary> |
Server.getLabels(java.lang.String user,
int maxLabels,
java.lang.String nameFilter,
java.util.List<IFileSpec> fileList) |
java.util.List<IFileSpec> |
Server.getOpenedFiles(java.util.List<IFileSpec> fileSpecs,
boolean allClients,
java.lang.String clientName,
int maxFiles,
int changeListId) |
java.util.List<IProtectionEntry> |
Server.getProtectionEntries(boolean allUsers,
java.lang.String hostName,
java.lang.String userName,
java.lang.String groupName,
java.util.List<IFileSpec> fileList) |
java.util.List<IRepo> |
Server.getRepos() |
java.util.List<IRepo> |
Server.getRepos(java.lang.String clientName) |
java.util.List<IUserSummary> |
Server.getReviews(int changelistId,
java.util.List<IFileSpec> fileSpecs) |
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
Server.getRevisionHistory(java.util.List<IFileSpec> fileSpecs,
int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput) |
java.io.InputStream |
Server.getServerFileDiffs(IFileSpec file1,
IFileSpec file2,
java.lang.String branchSpecName,
DiffType diffType,
boolean quiet,
boolean includeNonTextDiffs,
boolean gnuDiffs) |
IServerInfo |
Server.getServerInfo() |
java.util.List<IServerProcess> |
Server.getServerProcesses() |
java.util.List<IFileSpec> |
Server.getSubmittedIntegrations(java.util.List<IFileSpec> fileSpecs,
java.lang.String branchSpec,
boolean reverseMappings) |
IUser |
Server.getUser(java.lang.String userName) |
IUserGroup |
Server.getUserGroup(java.lang.String name) |
java.util.List<IUserGroup> |
Server.getUserGroups(java.lang.String userOrGroupName,
boolean indirect,
boolean displayValues,
int maxGroups) |
java.util.List<IUserSummary> |
Server.getUsers(java.util.List<java.lang.String> userList,
int maxUsers) |
IFileSpec |
Server.handleFileReturn(java.util.Map<java.lang.String,java.lang.Object> map)
Deprecated.
|
IFileSpec |
Server.handleFileReturn(java.util.Map<java.lang.String,java.lang.Object> map,
IClient client)
Deprecated.
|
void |
Server.login(java.lang.String password) |
void |
Server.login(java.lang.String password,
boolean allHosts) |
void |
Server.logout() |
java.util.List<IFileSpec> |
Server.moveFile(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec fromFile,
IFileSpec toFile) |
void |
Server.setCounter(java.lang.String counterName,
java.lang.String value,
boolean perforceCounter) |
boolean |
Server.supportsUnicode() |
java.util.List<IFileSpec> |
Server.tagFiles(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean listOnly,
boolean delete) |
java.lang.String |
Server.updateBranchSpec(IBranchSpec branchSpec) |
java.lang.String |
Server.updateClient(IClient client) |
java.lang.String |
Server.updateClient(IClient client,
boolean force) |
java.lang.String |
Server.updateJob(IJob job) |
java.lang.String |
Server.updateLabel(ILabel label) |
java.lang.String |
Server.updateUser(IUser user,
boolean force) |
java.lang.String |
Server.updateUserGroup(IUserGroup group,
boolean updateIfOwner) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<IExtendedFileSpec> |
ResultListBuilder.buildNonNullExtendedFileSpecListFromCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps,
IOptionsServer server) |
static <T> T |
ResultListBuilder.buildNullableObjectFromNonInfoMessageCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps,
Function<java.util.Map,T> construct) |
java.lang.String |
BranchDelegator.createBranchSpec(IBranchSpec branchSpec) |
java.lang.String |
ClientDelegator.createClient(IClient newClient) |
IJob |
JobDelegator.createJob(java.util.Map<java.lang.String,java.lang.Object> fieldMap) |
java.lang.String |
LabelDelegator.createLabel(ILabel label) |
java.lang.String |
UserDelegator.createUser(IUser user,
boolean force) |
java.lang.String |
GroupDelegator.createUserGroup(IUserGroup group)
Implemented on behalf of IServer for backwards compatibility.
|
java.lang.String |
BranchDelegator.deleteBranchSpec(java.lang.String branchSpecName,
boolean force) |
java.lang.String |
ClientDelegator.deleteClient(java.lang.String clientName,
boolean force) |
void |
CounterDelegator.deleteCounter(java.lang.String counterName,
boolean perforceCounter) |
java.lang.String |
JobDelegator.deleteJob(java.lang.String jobId) |
java.lang.String |
LabelDelegator.deleteLabel(java.lang.String labelName,
boolean force) |
java.lang.String |
ChangeDelegator.deletePendingChangelist(int id) |
java.lang.String |
UserDelegator.deleteUser(java.lang.String userName,
boolean force) |
java.lang.String |
GroupDelegator.deleteUserGroup(IUserGroup group)
Implemented on behalf of IServer for backwards compatibility.
|
java.util.List<IFix> |
FixDelegator.fixJobs(java.util.List<java.lang.String> jobIds,
int changeListId,
java.lang.String status,
boolean delete) |
IBranchSpec |
BranchDelegator.getBranchSpec(java.lang.String name) |
java.util.List<IBranchSpecSummary> |
BranchesDelegator.getBranchSpecs(java.lang.String userName,
java.lang.String nameFilter,
int maxReturns) |
IChangelist |
ChangeDelegator.getChangelist(int id) |
java.io.InputStream |
DescribeDelegator.getChangelistDiffs(int id,
DiffType diffType) |
java.io.InputStream |
DescribeDelegator.getChangelistDiffsStream(int id,
DescribeOptions options) |
java.util.List<IFileSpec> |
DescribeDelegator.getChangelistFiles(int id) |
java.util.List<IFileSpec> |
DescribeDelegator.getChangelistFiles(int id,
int max) |
java.util.List<IChangelistSummary> |
ChangesDelegator.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
boolean submittedOnly,
boolean pendingOnly,
boolean longDesc) |
java.util.List<IChangelistSummary> |
ChangesDelegator.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
IChangelist.Type type,
boolean longDesc) |
IClient |
ClientDelegator.getClient(IClientSummary clientSummary) |
IClient |
ClientDelegator.getClient(java.lang.String clientName) |
java.util.List<IClientSummary> |
ClientsDelegator.getClients(java.lang.String userName,
java.lang.String nameFilter,
int maxResults) |
IClient |
ClientDelegator.getClientTemplate(java.lang.String clientName) |
IClient |
ClientDelegator.getClientTemplate(java.lang.String clientName,
boolean allowExistent) |
java.util.List<IFileSpec> |
DescribeDelegator.getCommitFiles(java.lang.String repo,
java.lang.String commit) |
java.lang.String |
CounterDelegator.getCounter(java.lang.String counterName) |
java.util.Map<java.lang.String,java.lang.String> |
CountersDelegator.getCounters() |
java.util.List<IFileSpec> |
FilesDelegator.getDepotFiles(java.util.List<IFileSpec> fileSpecs,
boolean allRevs) |
java.util.List<IDepot> |
DepotsDelegator.getDepots() |
java.util.List<IFileSpec> |
DirsDelegator.getDirectories(java.util.List<IFileSpec> fileSpecs,
boolean clientOnly,
boolean deletedOnly,
boolean haveListOnly) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
ExportDelegator.getExportRecords(boolean useJournal,
long maxRecs,
int sourceNum,
long offset,
boolean format,
java.lang.String journalPrefix,
java.lang.String filter) |
java.util.List<IExtendedFileSpec> |
FstatDelegator.getExtendedFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
int sinceChangelist,
int affectedByChangelist,
FileStatOutputOptions outputOptions,
FileStatAncilliaryOptions ancilliaryOptions) |
java.util.List<IFileAnnotation> |
FileAnnotateDelegator.getFileAnnotations(java.util.List<IFileSpec> fileSpecs,
DiffType diffType,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches) |
java.io.InputStream |
PrintDelegator.getFileContents(java.util.List<IFileSpec> fileSpecs,
boolean allRevs,
boolean noHeaderLine) |
java.util.List<IFileDiff> |
Diff2Delegator.getFileDiffs(IFileSpec file1,
IFileSpec file2,
java.lang.String branchSpecName,
DiffType diffType,
boolean quiet,
boolean includeNonTextDiffs,
boolean gnuDiffs) |
java.util.List<IFix> |
FixesDelegator.getFixList(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String jobId,
boolean includeIntegrations,
int maxFixes) |
java.util.List<IChangelist> |
InterchangesDelegator.getInterchanges(IFileSpec fromFile,
IFileSpec toFile,
boolean showFiles,
boolean longDesc,
int maxChangelistId) |
java.util.List<IChangelist> |
InterchangesDelegator.getInterchanges(java.lang.String branchSpecName,
java.util.List<IFileSpec> fromFileList,
java.util.List<IFileSpec> toFileList,
boolean showFiles,
boolean longDesc,
int maxChangelistId,
boolean reverseMapping,
boolean biDirectional) |
IJob |
JobDelegator.getJob(java.lang.String jobId) |
java.util.List<IJob> |
JobsDelegator.getJobs(java.util.List<IFileSpec> fileSpecs,
int maxJobs,
boolean longDescriptions,
boolean reverseOrder,
boolean includeIntegrated,
java.lang.String jobView) |
IJobSpec |
JobSpecDelegator.getJobSpec() |
ILabel |
LabelDelegator.getLabel(java.lang.String labelName) |
java.util.List<ILabelSummary> |
LabelsDelegator.getLabels(java.lang.String user,
int maxLabels,
java.lang.String nameFilter,
java.util.List<IFileSpec> fileList) |
java.util.List<IFileSpec> |
OpenedDelegator.getOpenedFiles(java.util.List<IFileSpec> fileSpecs,
boolean allClients,
java.lang.String clientName,
int maxFiles,
int changeListId) |
java.util.List<IProtectionEntry> |
ProtectsDelegator.getProtectionEntries(boolean allUsers,
java.lang.String hostName,
java.lang.String userName,
java.lang.String groupName,
java.util.List<IFileSpec> fileList) |
java.util.List<IRepo> |
ReposDelegator.getRepos()
Gets the repos.
|
java.util.List<IRepo> |
ReposDelegator.getRepos(java.lang.String client)
Gets the repos mapped within the client's view.
|
java.util.List<IUserSummary> |
ReviewsDelegator.getReviews(int changelistId,
java.util.List<IFileSpec> fileSpecs) |
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
FileLogDelegator.getRevisionHistory(java.util.List<IFileSpec> fileSpecs,
int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput) |
java.io.InputStream |
Diff2Delegator.getServerFileDiffs(IFileSpec file1,
IFileSpec file2,
java.lang.String branchSpecName,
DiffType diffType,
boolean quiet,
boolean includeNonTextDiffs,
boolean gnuDiffs) |
IServerInfo |
InfoDelegator.getServerInfo() |
java.util.List<IServerProcess> |
MonitorDelegator.getServerProcesses() |
java.util.List<IFileSpec> |
IntegratedDelegator.getSubmittedIntegrations(java.util.List<IFileSpec> fileSpecs,
java.lang.String branchSpec,
boolean reverseMappings) |
IUser |
UserDelegator.getUser(java.lang.String userName) |
IUserGroup |
GroupDelegator.getUserGroup(java.lang.String name) |
java.util.List<IUserGroup> |
GroupsDelegator.getUserGroups(java.lang.String userOrGroupName,
boolean indirect,
boolean displayValues,
int maxGroups)
Implemented on behalf of legacy clients.
|
java.util.List<IUserSummary> |
UsersDelegator.getUsers(java.util.List<java.lang.String> userList,
int maxUsers) |
static boolean |
ResultMapParser.handleErrorOrInfoStr(java.util.Map<java.lang.String,java.lang.Object> map)
Handle error or info str.
|
static boolean |
ResultMapParser.handleErrorStr(java.util.Map<java.lang.String,java.lang.Object> map)
Tests the map for errors and throws an exception if found.
|
static java.lang.String |
ResultMapParser.handleFileErrorStr(java.util.Map<java.lang.String,java.lang.Object> map)
Handle file error str.
|
static IFileSpec |
ResultListBuilder.handleFileReturn(java.util.Map<java.lang.String,java.lang.Object> map,
IServer server) |
static IFileSpec |
ResultListBuilder.handleIntegrationFileReturn(java.util.Map<java.lang.String,java.lang.Object> map,
boolean ignoreInfo,
IServer server) |
static IFileSpec |
ResultListBuilder.handleIntegrationFileReturn(java.util.Map<java.lang.String,java.lang.Object> map,
IServer server) |
static boolean |
ResultMapParser.handleWarningStr(java.util.Map<java.lang.String,java.lang.Object> map)
Tests the map for warnings and throws an exception if found.
|
void |
LoginDelegator.login(java.lang.String password) |
void |
LoginDelegator.login(java.lang.String password,
boolean allHosts) |
void |
LogoutDelegator.logout() |
java.util.List<IFileSpec> |
MoveDelegator.moveFile(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec fromFile,
IFileSpec toFile) |
static java.lang.String |
ResultMapParser.parseCommandResultMapAsString(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps)
Parses the command result map as string.
|
static java.lang.String |
ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps)
Parses the command result map to return a String of info messages.
|
java.util.List<IChangelist> |
InterchangesDelegator.processInterchangeMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps,
boolean showFiles) |
void |
CounterDelegator.setCounter(java.lang.String counterName,
java.lang.String value,
boolean perforceCounter) |
java.util.List<IFileSpec> |
TagDelegator.tagFiles(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean listOnly,
boolean delete) |
java.lang.String |
BranchDelegator.updateBranchSpec(IBranchSpec branchSpec) |
java.lang.String |
ClientDelegator.updateClient(IClient client) |
java.lang.String |
ClientDelegator.updateClient(IClient client,
boolean force)
Update an existing Perforce client on the current Perforce server.
|
java.lang.String |
JobDelegator.updateJob(IJob job) |
java.lang.String |
LabelDelegator.updateLabel(ILabel label) |
java.lang.String |
UserDelegator.updateUser(IUser user,
boolean force) |
java.lang.String |
GroupDelegator.updateUserGroup(IUserGroup group,
boolean updateIfOwner)
Implemented on behalf of IServer for backwards compatibility.
|
Modifier and Type | Method and Description |
---|---|
void |
IServer.connect()
Connect to the Perforce server associated with this server object.
|
java.lang.String |
IServer.createUserGroup(IUserGroup group)
Create a new Perforce user group on the Perforce server.
|
java.lang.String |
IServer.deleteUserGroup(IUserGroup group)
Delete a Perforce user group from the Perforce server.
|
void |
IServer.disconnect()
Disconnect from this Perforce server.
|
java.util.Map<java.lang.String,java.lang.Object>[] |
IServer.execMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap)
Issue an arbitrary P4Java command to the Perforce server and return the
results as a map.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
HelixCommandExecutor.execMapCmdList(CmdSpec cmdSpec,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
IHelixCommandExecutor.execMapCmdList(CmdSpec cmdSpec,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
IHelixCommandExecutor.execMapCmdList(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap)
Issue an arbitrary P4Java command to the Perforce server and return the
results as a list of maps.
|
java.util.Map<java.lang.String,java.lang.Object>[] |
IServer.execQuietMapCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs,
java.util.Map<java.lang.String,java.lang.Object> inMap)
Issue an arbitrary P4Java command to the Perforce server and return the
results as a map without invoking any command callbacks.
|
java.io.InputStream |
IServer.execQuietStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs)
Issue an arbitrary P4Java command to the Perforce server and get the
results as a stream without invoking any command callbacks.
|
java.io.InputStream |
IHelixCommandExecutor.execStreamCmd(java.lang.String cmdName,
java.lang.String[] cmdArgs)
Issue an arbitrary P4Java command to the Perforce server and get the
results as a stream.
|
java.io.InputStream |
IServer.getChangelistDiffs(int id,
DiffType diffType)
Get an InputStream onto the file diffs associated with a specific
submitted changelist.
|
java.util.List<IFileSpec> |
IServer.getCommitFiles(java.lang.String repo,
java.lang.String commit) |
java.util.List<IChangelist> |
IServer.getInterchanges(IFileSpec fromFile,
IFileSpec toFile,
boolean showFiles,
boolean longDesc,
int maxChangelistId)
Get a list of changes and / or associated files not yet integrated
(unsupported).
|
java.util.List<IChangelist> |
IServer.getInterchanges(java.lang.String branchSpecName,
java.util.List<IFileSpec> fromFileList,
java.util.List<IFileSpec> toFileList,
boolean showFiles,
boolean longDesc,
int maxChangelistId,
boolean reverseMapping,
boolean biDirectional)
Get a list of changes and / or associated files not yet integrated, based
on branchspecs (unsupported).
|
java.util.List<IUserGroup> |
IServer.getUserGroups(java.lang.String userOrGroupName,
boolean indirect,
boolean displayValues,
int maxGroups)
Get a list of Perforce user groups from the server.
|
boolean |
HelixCommandExecutor.handleErrorStr(java.util.Map<java.lang.String,java.lang.Object> map)
Deprecated.
|
boolean |
IHelixCommandExecutor.handleErrorStr(java.util.Map<java.lang.String,java.lang.Object> map)
Deprecated.
|
java.lang.String |
HelixCommandExecutor.handleFileErrorStr(java.util.Map<java.lang.String,java.lang.Object> map)
Deprecated.
|
java.lang.String |
IHelixCommandExecutor.handleFileErrorStr(java.util.Map<java.lang.String,java.lang.Object> map)
Deprecated.
|
void |
IServer.setCurrentClient(IClient client)
Set the Perforce client associated with this server.
|
boolean |
IServer.supportsSmartMove()
Return true IFF the underlying Perforce server supports the new 2009.1
and later "smart move" command.
|
boolean |
IServer.supportsUnicode()
Return true if the underlying Perforce server supports Unicode (and is
connected).
|
java.lang.String |
IServer.updateUserGroup(IUserGroup group,
boolean updateIfOwner)
Update a Perforce user group on the Perforce server.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
IBranchDelegator.createBranchSpec(IBranchSpec branchSpec)
TODO: This should be moved up to Server and changed to delegate to
createBranchSpec with an options class.
|
java.lang.String |
IClientDelegator.createClient(IClient newClient) |
IJob |
IJobDelegator.createJob(java.util.Map<java.lang.String,java.lang.Object> fieldMap)
Create a new Perforce job in the Perforce server corresponding to the
passed-in Perforce job fields (which in turn should correspond to at
least the mandatory fields defined in the reigning Perforce job spec).
|
java.lang.String |
ILabelDelegator.createLabel(ILabel label)
Create a new Perforce label in the Perforce server.
|
java.lang.String |
IUserDelegator.createUser(IUser user,
boolean force)
Create a new Perforce user on the Perforce server.
|
java.lang.String |
IBranchDelegator.deleteBranchSpec(java.lang.String branchSpecName,
boolean force)
Deprecated.
use
deleteBranchSpec(final String branchSpecName,
final DeleteBranchSpecOptions opts) instead |
java.lang.String |
IClientDelegator.deleteClient(java.lang.String clientName,
boolean force) |
void |
ICounterDelegator.deleteCounter(java.lang.String counterName,
boolean perforceCounter) |
java.lang.String |
IJobDelegator.deleteJob(java.lang.String jobId)
Delete a job from the Perforce server.
|
java.lang.String |
ILabelDelegator.deleteLabel(java.lang.String labelName,
boolean force)
Delete a named Perforce label from the Perforce server.
|
java.lang.String |
IChangeDelegator.deletePendingChangelist(int id)
Delete a pending Perforce changelist.
|
java.lang.String |
IUserDelegator.deleteUser(java.lang.String userName,
boolean force)
Delete a named Perforce user from the Perforce server.
|
java.util.List<IFix> |
IFixDelegator.fixJobs(java.util.List<java.lang.String> jobIds,
int changeListId,
java.lang.String status,
boolean delete)
Mark each named job as being fixed by the changelist number given with
changeListId.
|
IBranchSpec |
IBranchDelegator.getBranchSpec(java.lang.String name)
Get the branch spec for the given name.
|
java.util.List<IBranchSpecSummary> |
IBranchesDelegator.getBranchSpecs(java.lang.String userName,
java.lang.String nameFilter,
int maxReturns)
Old style getBranchSpecs api call.
|
IChangelist |
IChangeDelegator.getChangelist(int id)
Get a specific Perforce changelist from a Perforce server.
|
java.io.InputStream |
IDescribeDelegator.getChangelistDiffsStream(int id,
DescribeOptions options)
Get an InputStream onto the file diffs associated with a specific
submitted changelist.
|
java.util.List<IFileSpec> |
IDescribeDelegator.getChangelistFiles(int id)
Get a list of the Perforce depot files associated with a Perforce
changelist.
|
java.util.List<IFileSpec> |
IDescribeDelegator.getChangelistFiles(int id,
int max)
Get a list of the Perforce depot files associated with a Perforce
changelist.
|
java.util.List<IChangelistSummary> |
IChangesDelegator.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
boolean submittedOnly,
boolean pendingOnly,
boolean longDesc)
Gets the changelists.
|
java.util.List<IChangelistSummary> |
IChangesDelegator.getChangelists(int maxMostRecent,
java.util.List<IFileSpec> fileSpecs,
java.lang.String clientName,
java.lang.String userName,
boolean includeIntegrated,
IChangelist.Type type,
boolean longDesc)
Gets the changelists.
|
IClient |
IClientDelegator.getClient(IClientSummary clientSummary) |
IClient |
IClientDelegator.getClient(java.lang.String clientName) |
java.util.List<IClientSummary> |
IClientsDelegator.getClients(java.lang.String userName,
java.lang.String nameFilter,
int maxResults)
Get a list of IClientSummary objects for all Perforce clients known to this Perforce
server.
|
IClient |
IClientDelegator.getClientTemplate(java.lang.String clientName) |
IClient |
IClientDelegator.getClientTemplate(java.lang.String clientName,
boolean allowExistent) |
java.lang.String |
ICounterDelegator.getCounter(java.lang.String counterName) |
java.util.Map<java.lang.String,java.lang.String> |
ICountersDelegator.getCounters()
This is here to allow access via both IOptionsServer and IServer, the underlying
delegator implementation provides the concrete method.
|
java.util.List<IFileSpec> |
IFilesDelegator.getDepotFiles(java.util.List<IFileSpec> fileSpecs,
boolean allRevs)
List all Perforce depot files known to the Perforce server that conform
to the passed-in wild-card file specification(s).
|
java.util.List<IDepot> |
IDepotsDelegator.getDepots()
Gets the depots.
|
java.util.List<IFileSpec> |
IDirsDelegator.getDirectories(java.util.List<IFileSpec> fileSpecs,
boolean clientOnly,
boolean deletedOnly,
boolean haveListOnly)
List any directories matching the passed-in file specifications
and other options.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
IExportDelegator.getExportRecords(boolean useJournal,
long maxRecs,
int sourceNum,
long offset,
boolean format,
java.lang.String journalPrefix,
java.lang.String filter)
Get a list of exported journal or checkpoint records (admin / superuser
command).
|
java.util.List<IExtendedFileSpec> |
IFstatDelegator.getExtendedFiles(java.util.List<IFileSpec> fileSpecs,
int maxFiles,
int sinceChangelist,
int affectedByChangelist,
FileStatOutputOptions outputOptions,
FileStatAncilliaryOptions ancilliaryOptions)
Return a list of everything Perforce knows about a possibly very large
set of Perforce files.
|
java.util.List<IFileAnnotation> |
IFileAnnotateDelegator.getFileAnnotations(java.util.List<IFileSpec> fileSpecs,
DiffType diffType,
boolean allResults,
boolean useChangeNumbers,
boolean followBranches) |
java.io.InputStream |
IPrintDelegator.getFileContents(java.util.List<IFileSpec> fileSpecs,
boolean allRevs,
boolean noHeaderLine) |
java.util.List<IFileDiff> |
IDiff2Delegator.getFileDiffs(IFileSpec file1,
IFileSpec file2,
java.lang.String branchSpecName,
DiffType diffType,
boolean quiet,
boolean includeNonTextDiffs,
boolean gnuDiffs)
Run diff on the Perforce server of two files in the depot.
|
java.util.List<IFix> |
IFixesDelegator.getFixList(java.util.List<IFileSpec> fileSpecs,
int changeListId,
java.lang.String jobId,
boolean includeIntegrations,
int maxFixes)
Return a list of all Perforce jobs with fix records associated with them,
along with the changelist number of the fix.
|
IJob |
IJobDelegator.getJob(java.lang.String jobId)
Get a specific job.
|
java.util.List<IJob> |
IJobsDelegator.getJobs(java.util.List<IFileSpec> fileSpecs,
int maxJobs,
boolean longDescriptions,
boolean reverseOrder,
boolean includeIntegrated,
java.lang.String jobView)
Return a list of Perforce jobs.
|
IJobSpec |
IJobSpecDelegator.getJobSpec()
Return the Perforce jobspec associated with this Perforce server.
|
ILabel |
ILabelDelegator.getLabel(java.lang.String labelName)
Get a specific named Perforce label.
|
java.util.List<ILabelSummary> |
ILabelsDelegator.getLabels(java.lang.String user,
int maxLabels,
java.lang.String nameFilter,
java.util.List<IFileSpec> fileList)
Get a list of Perforce labels, optionally tied to a specific set of
files.
|
java.util.List<IFileSpec> |
IOpenedDelegator.getOpenedFiles(java.util.List<IFileSpec> fileSpecs,
boolean allClients,
java.lang.String clientName,
int maxFiles,
int changeListId)
If one or more Perforce file specs is passed-in, return the opened /
locked status of each file (if known) within an IFileSpec object;
otherwise return a list of all files known to be open for this Perforce
client workspace.
|
java.util.List<IProtectionEntry> |
IProtectsDelegator.getProtectionEntries(boolean allUsers,
java.lang.String hostName,
java.lang.String userName,
java.lang.String groupName,
java.util.List<IFileSpec> fileList)
Get a list of Perforce protection entries for the passed-in arguments.
|
java.util.List<IRepo> |
IReposDelegator.getRepos()
Gets the repos.
|
java.util.List<IRepo> |
IReposDelegator.getRepos(java.lang.String clientName)
Gets the repos mapped within the client's view.
|
java.util.List<IUserSummary> |
IReviewsDelegator.getReviews(int changelistId,
java.util.List<IFileSpec> fileSpecs)
Get a list of all users who have subscribed to review the named files,
the files in the numbered changelist, or all files by default.
|
java.util.Map<IFileSpec,java.util.List<IFileRevisionData>> |
IFileLogDelegator.getRevisionHistory(java.util.List<IFileSpec> fileSpecs,
int maxRevs,
boolean contentHistory,
boolean includeInherited,
boolean longOutput,
boolean truncatedLongOutput)
Get the revision history data for one or more Perforce files.
|
java.io.InputStream |
IDiff2Delegator.getServerFileDiffs(IFileSpec file1,
IFileSpec file2,
java.lang.String branchSpecName,
DiffType diffType,
boolean quiet,
boolean includeNonTextDiffs,
boolean gnuDiffs)
Run diff on the Perforce server of two files in the depot.
|
IServerInfo |
IInfoDelegator.getServerInfo()
Gets the server info.
|
java.util.List<IServerProcess> |
IMonitorDelegator.getServerProcesses()
Return a list of Perforce server processes active on the Perforce server.
|
java.util.List<IFileSpec> |
IIntegratedDelegator.getSubmittedIntegrations(java.util.List<IFileSpec> fileSpecs,
java.lang.String branchSpec,
boolean reverseMappings)
Get a list of submitted integrations for the passed-in filespecs.
|
IUser |
IUserDelegator.getUser(java.lang.String userName)
Get the user details of a specific Perforce user from the Perforce
server.
|
IUserGroup |
IGroupDelegator.getUserGroup(java.lang.String name)
Get the named Perforce user group.
|
java.util.List<IUserSummary> |
IUsersDelegator.getUsers(java.util.List<java.lang.String> userList,
int maxUsers)
Get a list of Perforce users known to this Perforce server.
|
void |
ILoginDelegator.login(java.lang.String password)
Convenience method for login(password, false).
|
void |
ILoginDelegator.login(java.lang.String password,
boolean allHosts)
Log the current user (if any) in to a Perforce server, optionally
arranging to be logged in for all hosts.
|
void |
ILogoutDelegator.logout()
Log the current Perforce user out of a Perforce server session.
|
java.util.List<IFileSpec> |
IMoveDelegator.moveFile(int changelistId,
boolean listOnly,
boolean noClientMove,
java.lang.String fileType,
IFileSpec fromFile,
IFileSpec toFile)
Move a file already opened for edit or add (the fromFile) to the
destination file (the toFile).
|
void |
ICounterDelegator.setCounter(java.lang.String counterName,
java.lang.String value,
boolean perforceCounter) |
java.util.List<IFileSpec> |
ITagDelegator.tagFiles(java.util.List<IFileSpec> fileSpecs,
java.lang.String labelName,
boolean listOnly,
boolean delete)
Tag files with a Perforce label.
|
java.lang.String |
IBranchDelegator.updateBranchSpec(IBranchSpec branchSpec)
Update the data fields in an existing branch spec.
|
java.lang.String |
IClientDelegator.updateClient(IClient client) |
java.lang.String |
IClientDelegator.updateClient(IClient client,
boolean force)
Update an existing Perforce client on the current Perforce server.
|
java.lang.String |
IJobDelegator.updateJob(IJob job)
Update a Perforce job on the Perforce server.
|
java.lang.String |
ILabelDelegator.updateLabel(ILabel label)
Update an existing Perforce label in the Perforce server.
|
java.lang.String |
IUserDelegator.updateUser(IUser user,
boolean force)
Update a Perforce user on the Perforce server.
|
Copyright © 2018 Perforce Software. All Rights Reserved.