|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.perforce.maven.scm.provider.p4.command.P4Executor com.perforce.maven.scm.provider.p4.command.P4ServerExecutor
public class P4ServerExecutor
Base class for Perforce server specific command. It initializes an instance of the Perforce server.
Field Summary |
---|
Fields inherited from class com.perforce.maven.scm.provider.p4.command.P4Executor |
---|
client, fileSet, logger, P4_CHANGELIST_DESCRIPTION_PROPERTY, P4_CHANGELIST_PROPERTY, P4_CHARSET_PROPERTY, P4_CLIENT_PROPERTY, P4_FROM_CHANGELIST_PROPERTY, P4_JOBS_PROPERTY, P4_LOCK_TAG_PROPERTY, P4_PASSWD_PROPERTY, P4_PORT_PROPERTY, P4_TO_CHANGELIST_PROPERTY, P4_USER_PROPERTY, p4Charset, p4Client, p4ClientCreated, p4LoginOptions, p4Passwd, p4Port, p4ServerOptions, p4ServerProperties, p4User, repository, server |
Constructor Summary | |
---|---|
P4ServerExecutor(P4ScmProviderRepository repository,
org.apache.maven.scm.ScmFileSet fileSet,
org.apache.maven.scm.log.ScmLogger logger)
Instantiates a new p4 server executor. |
Method Summary | |
---|---|
protected void |
cleanP4()
Cleanup Perforce server and client instances; logout, disconnect, etc. |
protected void |
cleanServer()
Cleanup the Perforce server instance. |
protected void |
initP4()
Initialize Perforce server and client instances. |
protected void |
initServer()
Initialize an instance of the Perforce server from the factory using the specified protocol, server port, protocol specific properties and usage options. |
Methods inherited from class com.perforce.maven.scm.provider.p4.command.P4Executor |
---|
createClientViewMapping, encodeWildcards, generateClientName, getCanonicalRepoPath, getClient, getFileSet, getLogger, getP4Charset, getP4Client, getP4LoginOptions, getP4Passwd, getP4Port, getP4ServerOptions, getP4ServerProperties, getP4User, getRepoLocation, getRepoPath, getRepository, getServer, isClientNameGenerated, isEmpty, isP4ClientCreated, parseChangelist, setClient, setFileSet, setLogger, setP4Charset, setP4Client, setP4ClientCreated, setP4LoginOptions, setP4Passwd, setP4Port, setP4ServerOptions, setP4ServerProperties, setP4User, setRepository, setServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public P4ServerExecutor(P4ScmProviderRepository repository, org.apache.maven.scm.ScmFileSet fileSet, org.apache.maven.scm.log.ScmLogger logger) throws org.apache.maven.scm.ScmException
repository
- the repositoryfileSet
- the file setlogger
- the logger
org.apache.maven.scm.ScmException
- the scm exceptionMethod Detail |
---|
protected void initServer() throws org.apache.maven.scm.ScmException
org.apache.maven.scm.ScmException
- the scm exceptionprotected void cleanServer() throws org.apache.maven.scm.ScmException
org.apache.maven.scm.ScmException
- the scm exceptionprotected void initP4() throws org.apache.maven.scm.ScmException
P4Executor
initP4
in class P4Executor
org.apache.maven.scm.ScmException
- the scm exceptionP4Executor.initP4()
protected void cleanP4() throws org.apache.maven.scm.ScmException
P4Executor
cleanP4
in class P4Executor
org.apache.maven.scm.ScmException
- the scm exceptionP4Executor.cleanP4()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |