Package | Description |
---|---|
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.mapbased.client | |
com.perforce.p4java.impl.mapbased.rpc | |
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.
|
Modifier and Type | Method and Description |
---|---|
static IClient |
CoreFactory.createClient(IOptionsServer server,
java.lang.String name,
java.lang.String description,
java.lang.String root,
java.lang.String[] paths,
boolean createOnServer)
Create a new client local object and optionally also create it on the server.
|
static IJob |
CoreFactory.createJob(IOptionsServer server,
java.util.Map<java.lang.String,java.lang.Object> map,
boolean createOnServer)
Simple convenience factory method to create a new local or in-server job.
|
static ILabel |
CoreFactory.createLabel(IOptionsServer server,
java.lang.String name,
java.lang.String description,
java.lang.String[] mapping,
boolean createOnServer)
Create a new ILabel object locally and optionally on the server.
|
static IUser |
CoreFactory.createUser(IOptionsServer server,
java.lang.String name,
java.lang.String email,
java.lang.String fullName,
java.lang.String password,
boolean createOnServer)
Create a new IUser object locally and optionally on the server.
|
static IUserGroup |
CoreFactory.createUserGroup(IOptionsServer server,
java.lang.String name,
java.util.List<java.lang.String> users,
boolean createOnServer)
Create a new user group locally and / or on the server, using "sensible" default
values for non-parameters.
|
static IBranchSpec |
CoreFactory.newBranchSpec(IOptionsServer server,
java.lang.String name,
java.lang.String description,
java.lang.String[] branches,
boolean createOnServer)
Create a new branch spec locally and / or on the server with default values for
non-parameter fields.
|
void |
IStream.setServer(IOptionsServer server)
Set the server to type of IOptionsServer, overriding the default IServer.
|
Modifier and Type | Field and Description |
---|---|
protected IOptionsServer |
Changelist.serverImpl |
Modifier and Type | Method and Description |
---|---|
static BranchSpec |
BranchSpec.newBranchSpec(IOptionsServer server,
java.lang.String name,
java.lang.String description,
java.lang.String[] branches)
Simple factory / convenience method for creating a new local BranchSpec object
with defult values.
|
static Stream |
Stream.newStream(IOptionsServer server,
java.lang.String streamPath,
java.lang.String type,
java.lang.String parentStreamPath,
java.lang.String name,
java.lang.String description,
java.lang.String options,
java.lang.String[] viewPaths,
java.lang.String[] remappedPaths,
java.lang.String[] ignoredPaths)
Simple factory / convenience method for creating a new local Stream
object with defult values.
|
static Stream |
Stream.newStream(IOptionsServer server,
java.lang.String streamPath,
java.lang.String type,
java.lang.String parentStreamPath,
java.lang.String name,
java.lang.String description,
java.lang.String options,
java.lang.String[] viewPaths,
java.lang.String[] remappedPaths,
java.lang.String[] ignoredPaths,
java.lang.String[] clientViewPaths)
Simple factory / convenience method for creating a new local Stream
object with defult values.
|
void |
Stream.setServer(IOptionsServer server) |
Constructor and Description |
---|
Changelist(IChangelistSummary summary,
IOptionsServer server,
boolean refresh)
Construct a new Changelist using the passed-in changelist as a template.
|
Changelist(java.util.Map<java.lang.String,java.lang.Object> map,
IOptionsServer serverImpl)
Construct a changelist impl from the passed-in map and serverImpl parameters.
|
Modifier and Type | Method and Description |
---|---|
static Client |
Client.newClient(IOptionsServer server,
java.lang.String name,
java.lang.String description,
java.lang.String root,
java.lang.String[] paths)
Convenience method to return a new Client object with certain default values
filled in.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
Server
Generic abstract superclass for implementation-specific server
implementations that use a command-style server interface implementation.
|
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) |
Constructor and Description |
---|
AttributeDelegator(IOptionsServer server)
Instantiate a new AttributeDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
BranchDelegator(IOptionsServer server)
Instantiate a new BranchDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
BranchesDelegator(IOptionsServer server)
Build a new VerifyDelegtor object and keep the server object for
|
ChangeDelegator(IOptionsServer server)
Instantiates a new change delegator.
|
ChangesDelegator(IOptionsServer server)
Instantiates a new changes delegator.
|
ClientDelegator(IOptionsServer server) |
ClientsDelegator(IOptionsServer server)
Instantiate a new ClientsDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
CommitDelegator(IOptionsServer server)
Instantiates a new graph commit delegator.
|
ConfigureDelegator(IOptionsServer server)
Instantiates a new configure delegator.
|
CounterDelegator(IOptionsServer server)
Instantiates a new change delegator.
|
CountersDelegator(IOptionsServer server)
Create a new delegator with a concrete server implementation.
|
DBSchemaDelegator(IOptionsServer server)
Instantiates a new DB schema delegator.
|
DepotDelegator(IOptionsServer server)
Instantiates a new depot delegator.
|
DepotsDelegator(IOptionsServer server)
Instantiates a new depots delegator.
|
DescribeDelegator(IOptionsServer server) |
Diff2Delegator(IOptionsServer server)
Instantiate a new Diff2Delegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
DirsDelegator(IOptionsServer server)
Instantiates a new dirs delegator.
|
DiskspaceDelegator(IOptionsServer server)
Instantiate a new DiskspaceDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
DuplicateDelegator(IOptionsServer server)
Instantiate a new DuplicateDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ExportDelegator(IOptionsServer server)
Instantiate a new ExportDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
FileAnnotateDelegator(IOptionsServer server)
Instantiate a new FileAnnotateDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
FileLogDelegator(IOptionsServer server)
Instantiate a new FileDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
FilesDelegator(IOptionsServer server)
Instantiates a new files delegator.
|
FixDelegator(IOptionsServer server)
Instantiates a new fix delegator.
|
FixesDelegator(IOptionsServer server)
Instantiates a new fixes delegator.
|
FstatDelegator(IOptionsServer server)
Instantiates a new fstat delegator.
|
GraphListTreeDelegator(IOptionsServer server)
Basic constructor, taking a server object.
|
GraphReceivePackDelegator(IOptionsServer server)
Instantiates a new graph commit log delegator.
|
GraphRevListDelegator(IOptionsServer server)
Instantiates a new graph rev list delegator.
|
GraphShowRefDelegator(IOptionsServer server)
Basic constructor, taking a server object.
|
GrepDelegator(IOptionsServer server)
Instantiates a new grep delegator.
|
GroupDelegator(IOptionsServer server)
Instantiate a new GroupDelegator for the given server implementation.
|
GroupsDelegator(IOptionsServer server)
Instantiate a new GroupsDelegator for the given server implemention.
|
InfoDelegator(IOptionsServer server)
Instantiates a new info delegator.
|
IntegratedDelegator(IOptionsServer server)
Instantiates a new integrated delegator.
|
InterchangesDelegator(IOptionsServer server)
Build a new InterchangesDelegator object and keep the server object for
using in the command processing.
|
JobDelegator(IOptionsServer server)
Instantiates a new job delegator.
|
JobsDelegator(IOptionsServer server)
Instantiates a new jobs delegator.
|
JobSpecDelegator(IOptionsServer server)
Instantiates a new job spec delegator.
|
JournalWaitDelegator(IOptionsServer server)
Instantiates a new journal wait delegator.
|
KeyDelegator(IOptionsServer server)
Instantiate a new KeyDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
KeysDelegator(IOptionsServer server)
Instantiate a new KeysDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
LabelDelegator(IOptionsServer server)
Instantiate a new LabelDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
LabelsDelegator(IOptionsServer server)
Instantiate a new LabelsDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ListDelegator(IOptionsServer server)
Instantiates a new list delegator.
|
LoginDelegator(IOptionsServer server)
Instantiates a new login delegator.
|
LogoutDelegator(IOptionsServer server)
Instantiates a new logout delegator.
|
LogTailDelegator(IOptionsServer server)
Instantiates a new log tail delegator.
|
MonitorDelegator(IOptionsServer server)
Instantiate a new MonitorDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
MoveDelegator(IOptionsServer server)
Instantiate a new MoveDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ObliterateDelegator(IOptionsServer server)
Instantiate a new ObliterateDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
OpenedDelegator(IOptionsServer server)
Instantiates a new opened delegator.
|
PasswdDelegator(IOptionsServer server)
Instantiate a new PasswdDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
PrintDelegator(IOptionsServer server)
Instantiate a new PrintDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
PropertyDelegator(IOptionsServer server)
Instantiate a new PropertyDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ProtectDelegator(IOptionsServer server)
Instantiate a new ProtectDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ProtectsDelegator(IOptionsServer server)
Instantiate a new ProtectsDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ReloadDelegator(IOptionsServer server)
Instantiate a new ReloadDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
RenameUserDelegator(IOptionsServer server)
Instantiate a new RenameUserDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ReposDelegator(IOptionsServer server)
Instantiates a new repos delegator.
|
ReviewDelegator(IOptionsServer server)
Instantiate a new ReviewDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
ReviewsDelegator(IOptionsServer server)
Instantiate a new ReviewsDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
SearchDelegator(IOptionsServer server)
Instantiate a new SearchDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
SizesDelegator(IOptionsServer server)
Instantiate a new SizesDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
StatDelegator(IOptionsServer server)
Instantiates a new stat delegator.
|
StreamDelegator(IOptionsServer server)
Instantiate a new StreamDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
StreamsDelegator(IOptionsServer server)
Instantiate a new StreamsDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
TagDelegator(IOptionsServer server)
Instantiate a new TagDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
TriggersDelegator(IOptionsServer server)
Instantiate a new TriggersDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
UnloadDelegator(IOptionsServer server)
Instantiate a new UnloadDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
UserDelegator(IOptionsServer server)
Instantiate a new UserDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
UsersDelegator(IOptionsServer server)
Instantiate a new UsersDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
VerifyDelegator(IOptionsServer server)
Instantiate a new VerifyDelegator, providing the server object that will be used to
execute Perforce Helix attribute commands.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IStreamingServer |
Modifier and Type | Method and Description |
---|---|
static IOptionsServer |
ServerFactory.getOptionsServer(java.lang.String serverUriString,
java.util.Properties props)
Return an IOptionsServer onto an underlying Perforce server at the host
address specified by serverUriString using the protocol implementation and
passed-in properties and a default UsageOptions object.
|
static IOptionsServer |
ServerFactory.getOptionsServer(java.lang.String serverUriString,
java.util.Properties props,
UsageOptions opts)
Return an IOptionsServer interface onto an underlying Perforce server at the host
address specified by serverUriString using the protocol implementation and
passed-in properties and usage options.
|
IOptionsServer |
IOptionsServer.setUsageOptions(UsageOptions opts)
Set the UsageOptions object associated with this server.
|
Copyright © 2018 Perforce Software. All Rights Reserved.