package com.perforce.maven.scm.provider.p4.manager; import java.io.File; import org.apache.maven.scm.ScmException; import com.perforce.maven.scm.provider.p4.repository.P4ScmProviderRepository; import com.perforce.p4java.client.IClient; public interface P4ClientManager { /** * The Plexus role. */ String ROLE = P4ClientManager.class.getName(); /** * Retrieve a client which can be generated for discover from client list using the provided server path from 'repo' * and 'rootDir' * * @param repo * @param rootDir * @return * @throws ScmException */ IClient getClient( P4ScmProviderRepository repo, File rootDir ) throws ScmException; /** * Retrieve a client with a given clientName * * @param repo * @param rootDir * @param clientName * @return * @throws ScmException */ IClient getClient( P4ScmProviderRepository repo, File rootDir, String clientName ) throws ScmException; /** * Discover a client name that match repo's path and basedir * * @param repo * @param baseDir * @return */ String discoverClientName( P4ScmProviderRepository repo, File baseDir ) throws ScmException; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 9679 | dantran |
hookup site with jacolo report. add javadoc to interfaces |
||
#3 | 9548 | dantran |
- pickup P4PORT form env and system properties to support multi site using proxy - add development doc - check for error after each action |
||
#2 | 9533 | dantran | source format | ||
#1 | 9519 | dantran | folder rename to match with its artifactId | ||
//guest/dantran/p4maven/com.perforce.maven/src/main/java/com/perforce/maven/scm/provider/p4/manager/P4ClientManager.java | |||||
#2 | 9498 | dantran |
- Setup Maven site for documetation - Implement ~/m2/p4maven-settings.xml to store external config overridable by system properties. All global settings now can be retrieved va P4Utils |
||
#1 | 9233 | dantran | initial implementation of all the needed manager to cache Iclient and Iserver instances |