Uses of Interface
com.perforce.p4java.server.IServer

Packages that use IServer
com.perforce.p4java.client Provides interfaces for accessing and manipulating Perforce client workspaces and associated objects. 
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.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.server   
com.perforce.p4java.option Provides a series of classes that implement P4Java-wide server, client, and other class method options definitions and processing. 
com.perforce.p4java.option.changelist   
com.perforce.p4java.option.client   
com.perforce.p4java.option.server   
com.perforce.p4java.server Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services. 
 

Uses of IServer in com.perforce.p4java.client
 

Methods in com.perforce.p4java.client that return IServer
 IServer IClient.getServer()
          Return the IServer object representing the Perforce server associated with this Perforce client.
 

Methods in com.perforce.p4java.client with parameters of type IServer
 void IClient.setServer(IServer server)
          Set the Perforce server associated with this client.
 

Uses of IServer in com.perforce.p4java.core
 

Methods in com.perforce.p4java.core that return IServer
 IServer ILabel.getServer()
          Get the Perforce server object associated with this label.
 

Methods in com.perforce.p4java.core with parameters of type IServer
 void ILabel.setServer(IServer server)
          Set the Perforce server object associated with this label.
 void IServerResource.setServer(IServer server)
          Set the server associated with this resource.
 

Uses of IServer in com.perforce.p4java.impl.generic.core
 

Fields in com.perforce.p4java.impl.generic.core declared as IServer
protected  IServer ServerResource.server
          Server instance
 

Methods in com.perforce.p4java.impl.generic.core that return IServer
 IServer Label.getServer()
           
 IServer Changelist.getServer()
           
 

Methods in com.perforce.p4java.impl.generic.core with parameters of type IServer
static Changelist Changelist.newChangelist(IServer server, String clientName, String description)
          Return a new local Changelist object with default values.
static Job Job.newJob(IServer server, Map<String,Object> map)
          Simple factory method for creating a new Job class.
static Label Label.newLabel(IServer server, String name, String description, String[] mapping)
          Create a new local Label object with the given name, description, and view mapping.
 void Label.setServer(IServer server)
           
 void ServerResource.setServer(IServer server)
           
 

Constructors in com.perforce.p4java.impl.generic.core with parameters of type IServer
BranchSpec(Map<String,Object> map, IServer server)
          Construct a BranchSpec from a map passed back from the Perforce server in response to a getBranchSpec command.
Changelist(IChangelistSummary summary, IServer server, boolean refresh)
          Construct a new Changelist using the passed-in changelist as a template.
ChangelistSummary(boolean complete, boolean completable, boolean refreshable, boolean updateable, IServer server)
          Explicit-value pass-through constructor for the ServerResource fields.
ChangelistSummary(Map<String,Object> map, boolean summaryOnly, IServer server)
          Construct a ChangelistSummary from a suitable map returned from the Perforce server.
Job(IServer server, Map<String,Object> map)
           
Job(IServer server, Map<String,Object> map, boolean longDescriptions)
           
JobSpec(Map<String,Object> map, IServer server)
           
Label(Map<String,Object> map, IServer server)
          Construct a new Label from the map passed back from the IServer's getLabel method or from a similar map, and the current server object (if any).
ServerResource(boolean refreshable, boolean updateable, IServer server)
          Explicit all-value constructor.
ServerResource(IServer server)
          Sets complete to true, completable, refreshable, and updateable to false, and server to the passed-in value.
User(Map<String,Object> map, IServer server)
          Constructs a User from the passed-in map.
 

Uses of IServer in com.perforce.p4java.impl.generic.core.file
 

Constructors in com.perforce.p4java.impl.generic.core.file with parameters of type IServer
ExtendedFileSpec(Map<String,Object> map, IServer server, int index)
          Construct an ExtendedFileSpec object from the passed-in map.
FileSpec(Map<String,Object> map, IServer server, int index)
          Try to construct a FileSpec from a passed-in map as returned from a Perforce server.
 

Uses of IServer in com.perforce.p4java.impl.mapbased.client
 

Methods in com.perforce.p4java.impl.mapbased.client that return IServer
 IServer Client.getServer()
           
 

Methods in com.perforce.p4java.impl.mapbased.client with parameters of type IServer
 void Client.setServer(IServer server)
          Note that this will fail with a class cast exception if the passed-in server is not a mapbased ServerImpl object.
 

Constructors in com.perforce.p4java.impl.mapbased.client with parameters of type IServer
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.
Client(IServer server)
          Note that any IServer object returned by the ServerFactory will work for the serverImpl parameter; if not, a suitable cast exception will be thrown.
Client(IServer serverImpl, Map<String,Object> map)
          Construct a suitable Client object from an IServer and a map returned from the Perforce server.
Client(String name, Date accessed, Date updated, String description, String hostName, String ownerName, String root, IClientSummary.ClientLineEnd lineEnd, IClientSummary.IClientOptions options, IClientSummary.IClientSubmitOptions submitOptions, List<String> alternateRoots, IServer serverImpl, ClientView clientView)
          Construct a new Client object from explicit fields.
Client(String name, Date accessed, Date updated, String description, String hostName, String ownerName, String root, IClientSummary.ClientLineEnd lineEnd, IClientSummary.IClientOptions options, IClientSummary.IClientSubmitOptions submitOptions, List<String> alternateRoots, IServer serverImpl, ClientView clientView, String stream)
          Construct a new Client object from explicit fields.
 

Uses of IServer in com.perforce.p4java.impl.mapbased.rpc
 

Classes in com.perforce.p4java.impl.mapbased.rpc that implement IServer
 class NtsServerImpl
          NTS (non-thread-safe) version of the P4Java RPC implementation.
 class OneShotServerImpl
          A one-shot (connection-per-command) version of the RPC protocol implementation.
 class RpcServer
          RPC-based Perforce server implementation superclass.
 

Uses of IServer in com.perforce.p4java.impl.mapbased.server
 

Classes in com.perforce.p4java.impl.mapbased.server that implement IServer
 class Server
          Generic abstract superclass for implementation-specific server implementations that use a command-style server interface implementation.
 

Methods in com.perforce.p4java.impl.mapbased.server with parameters of type IServer
protected static void Parameters.addOpts(List<String> args, Options opts, IServer server)
           
static String[] Parameters.processParameters(Options opts, IFileSpec fromFile, IFileSpec toFile, String branchSpec, IServer server)
          Specialized parameter processing method for the Client.integrateFiles and IOptionsServer.getFileDiffs methods.
static String[] Parameters.processParameters(Options opts, IFileSpec fromFileSpec, List<IFileSpec> toFileSpecs, String[] stringParams, IServer server)
          Specialized parameter processing method for commands with 'fromFile' and 'toFiles' parameters.
static String[] Parameters.processParameters(Options opts, IServer server)
          Version of processParameters for those rare methods that have no non-Options arguments.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, IServer server)
          Process options and filespecs arguments for common methods that use a single file spec list and an options object.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fromFiles, List<IFileSpec> toFiles, String branchSpec, IServer server)
          Specialized parameter processing method for the IOptionsServer.getInterchanges method.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, String[] stringParams, boolean annotateFiles, IServer server)
          Omnibus processParameters method.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, String[] stringParams, IServer server)
          Process options, filespecs arguments, and string arguments for common methods.
static String[] Parameters.processParameters(Options opts, List<IFileSpec> fileSpecs, String stringParam, IServer server)
          Process options, filespecs arguments, and a single string argument for common methods.
 

Uses of IServer in com.perforce.p4java.option
 

Methods in com.perforce.p4java.option with parameters of type IServer
abstract  List<String> Options.processOptions(IServer server)
          Turn this (specific) options object into a list of strings to be sent to the Perforce server as options for a specific command.
 

Uses of IServer in com.perforce.p4java.option.changelist
 

Methods in com.perforce.p4java.option.changelist with parameters of type IServer
 List<String> SubmitOptions.processOptions(IServer server)
          Note that the implementation of the various options here is less straightforward than for typical server-based Options classes due to the lack of one-to-one correspondence between options and flags and the need for strict option ordering.
 

Uses of IServer in com.perforce.p4java.option.client
 

Methods in com.perforce.p4java.option.client with parameters of type IServer
 List<String> UnshelveFilesOptions.processOptions(IServer server)
           
 List<String> PopulateFilesOptions.processOptions(IServer server)
          Process options.
 List<String> EditFilesOptions.processOptions(IServer server)
           
 List<String> CopyFilesOptions.processOptions(IServer server)
           
 List<String> ShelveFilesOptions.processOptions(IServer server)
           
 List<String> ReconcileFilesOptions.processOptions(IServer server)
           
 List<String> ResolveFilesAutoOptions.processOptions(IServer server)
           
 List<String> DeleteFilesOptions.processOptions(IServer server)
           
 List<String> SyncOptions.processOptions(IServer server)
           
 List<String> RevertFilesOptions.processOptions(IServer server)
           
 List<String> IntegrateFilesOptions.processOptions(IServer server)
           
 List<String> MergeFilesOptions.processOptions(IServer server)
           
 List<String> AddFilesOptions.processOptions(IServer server)
           
 List<String> LabelSyncOptions.processOptions(IServer server)
           
 List<String> UnlockFilesOptions.processOptions(IServer server)
           
 List<String> GetDiffFilesOptions.processOptions(IServer server)
           
 List<String> ReopenFilesOptions.processOptions(IServer server)
           
 List<String> LockFilesOptions.processOptions(IServer server)
           
 List<String> ResolvedFilesOptions.processOptions(IServer server)
           
 

Uses of IServer in com.perforce.p4java.option.server
 

Methods in com.perforce.p4java.option.server with parameters of type IServer
 List<String> DeleteBranchSpecOptions.processOptions(IServer server)
           
 List<String> DeleteClientOptions.processOptions(IServer server)
           
 List<String> GetRevisionHistoryOptions.processOptions(IServer server)
           
 List<String> ChangelistOptions.processOptions(IServer server)
           
 List<String> FixJobsOptions.processOptions(IServer server)
           
 List<String> GetBranchSpecsOptions.processOptions(IServer server)
           
 List<String> GetUserGroupsOptions.processOptions(IServer server)
           
 List<String> DuplicateRevisionsOptions.processOptions(IServer server)
           
 List<String> GetKeysOptions.processOptions(IServer server)
           
 List<String> GetReviewChangelistsOptions.processOptions(IServer server)
           
 List<String> GetFileAnnotationsOptions.processOptions(IServer server)
          If the wsOpts field is non-null, those values will override the corresponding explicit boolean fields.
 List<String> MoveFileOptions.processOptions(IServer server)
           
 List<String> KeyOptions.processOptions(IServer server)
           
 List<String> ObliterateFilesOptions.processOptions(IServer server)
           
 List<String> MatchingLinesOptions.processOptions(IServer server)
           
 List<String> OpenedFilesOptions.processOptions(IServer server)
           
 List<String> TagFilesOptions.processOptions(IServer server)
           
 List<String> SearchJobsOptions.processOptions(IServer server)
           
 List<String> TrustOptions.processOptions(IServer server)
           
 List<String> SetFileAttributesOptions.processOptions(IServer server)
           
 List<String> GetChangelistDiffsOptions.processOptions(IServer server)
           
 List<String> GetFixesOptions.processOptions(IServer server)
          IServer.getFixList-specific options processing.
 List<String> GetCountersOptions.processOptions(IServer server)
           
 List<String> GetInterchangesOptions.processOptions(IServer server)
           
 List<String> GetServerProcessesOptions.processOptions(IServer server)
           
 List<String> GetClientTemplateOptions.processOptions(IServer server)
           
 List<String> GetClientsOptions.processOptions(IServer server)
           
 List<String> SwitchClientViewOptions.processOptions(IServer server)
           
 List<String> GetChangelistsOptions.processOptions(IServer server)
           
 List<String> GetLabelsOptions.processOptions(IServer server)
           
 List<String> LoginOptions.processOptions(IServer server)
           
 List<String> VerifyFilesOptions.processOptions(IServer server)
           
 List<String> ReloadOptions.processOptions(IServer server)
           
 List<String> StreamOptions.processOptions(IServer server)
           
 List<String> GetPropertyOptions.processOptions(IServer server)
           
 List<String> GetBranchSpecOptions.processOptions(IServer server)
           
 List<String> GetReviewsOptions.processOptions(IServer server)
           
 List<String> GetSubmittedIntegrationsOptions.processOptions(IServer server)
           
 List<String> GetFileDiffsOptions.processOptions(IServer server)
           
 List<String> GetDirectoriesOptions.processOptions(IServer server)
           
 List<String> DescribeOptions.processOptions(IServer server)
           
 List<String> DeleteLabelOptions.processOptions(IServer server)
           
 List<String> PropertyOptions.processOptions(IServer server)
           
 List<String> LogTailOptions.processOptions(IServer server)
           
 List<String> GetUsersOptions.processOptions(IServer server)
           
 List<String> CounterOptions.processOptions(IServer server)
           
 List<String> GetStreamsOptions.processOptions(IServer server)
           
 List<String> JournalWaitOptions.processOptions(IServer server)
           
 List<String> GetProtectionEntriesOptions.processOptions(IServer server)
           
 List<String> UpdateClientOptions.processOptions(IServer server)
           
 List<String> ExportRecordsOptions.processOptions(IServer server)
          Process options.
 List<String> UpdateUserGroupOptions.processOptions(IServer server)
           
 List<String> GetFileContentsOptions.processOptions(IServer server)
           
 List<String> GetFileSizesOptions.processOptions(IServer server)
           
 List<String> UnloadOptions.processOptions(IServer server)
           
 List<String> GetDepotFilesOptions.processOptions(IServer server)
           
 List<String> UpdateUserOptions.processOptions(IServer server)
           
 List<String> StreamIntegrationStatusOptions.processOptions(IServer server)
           
 List<String> GetJobsOptions.processOptions(IServer server)
           
 List<String> GetStreamOptions.processOptions(IServer server)
           
 List<String> GetExtendedFilesOptions.processOptions(IServer server)
           
 

Uses of IServer in com.perforce.p4java.server
 

Subinterfaces of IServer in com.perforce.p4java.server
 interface IOptionsServer
          An extension of the basic IServer interface to provide Options object-based method access to Perforce server functionality and objects.
 interface IStreamingServer
           
 

Methods in com.perforce.p4java.server that return IServer
static IServer ServerFactory.getServer(String serverUriString, Properties props)
          Return an IServer interface onto an underlying Perforce server at the host address specified by serverUriString using the protocol implementation and passed-in properties.
static IServer ServerFactory.getServer(URI serverUrl, Properties props)
          Deprecated. as of the 2009.2 release, use the getServer(String, Properties) method due to that Java's URI class does not accept hostnames with anything other than alphanumeric characters: even common hostnames like "perforce_p" will fail, often silently.
 



Copyright © 2015 Perforce Software. All Rights Reserved.