public class PerforceScmProvider extends AbstractScmProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CLIENTSPEC_PROPERTY |
ROLE| Constructor and Description |
|---|
PerforceScmProvider() |
add, add, add, addListener, blame, blame, branch, branch, branch, branch, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, checkIn, checkIn, checkIn, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, diff, diff, edit, export, export, export, export, export, export, getLogger, getScmSpecificFilename, info, list, list, list, makeProviderScmRepository, mkdir, mkdir, remoteInfo, remove, sanitizeTagName, status, tag, tag, tag, unedit, untag, update, update, update, update, update, update, update, update, update, update, update, update, validateScmUrl, validateTagNamepublic static final String DEFAULT_CLIENTSPEC_PROPERTY
public PerforceScmProvider()
public boolean requiresEditMode()
AbstractScmProviderrequiresEditMode in interface ScmProviderrequiresEditMode in class AbstractScmProviderpublic ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter) throws ScmRepositoryException
ScmRepositoryExceptionpublic String getScmType()
protected ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog in class AbstractScmProviderScmExceptionpublic AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
add in class AbstractScmProviderScmExceptionprotected RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
remove in class AbstractScmProviderScmExceptionprotected CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
checkin in class AbstractScmProviderScmExceptionprotected CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
checkout in class AbstractScmProviderScmExceptionprotected DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
diff in class AbstractScmProviderScmExceptionprotected EditScmResult edit(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
edit in class AbstractScmProviderScmExceptionprotected LoginScmResult login(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
login in class AbstractScmProviderScmExceptionprotected StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
status in class AbstractScmProviderScmExceptionprotected TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
tag in class AbstractScmProviderScmExceptionprotected UnEditScmResult unedit(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
unedit in class AbstractScmProviderScmExceptionprotected UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
update in class AbstractScmProviderScmExceptionprotected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
blame in class AbstractScmProviderScmExceptionpublic static org.codehaus.plexus.util.cli.Commandline createP4Command(PerforceScmProviderRepository repo, File workingDir)
public static String getCanonicalRepoPath(String repoPath)
//depot/foo/bar -> //depot/foo/bar/... //depot/foo/bar/ -> //depot/foo/bar/... //depot/foo/bar/... -> //depot/foo/bar/...
repoPath - public static String createClientspec(ScmLogger logger, PerforceScmProviderRepository repo, File workDir, String repoPath)
public static String getClientspecName(ScmLogger logger, PerforceScmProviderRepository repo, File workDir)
public static String getRepoPath(ScmLogger log, PerforceScmProviderRepository repo, File basedir)
log - the logging object to userepo - the Perforce repobasedir - the base directory we are operating in. If pom.xml exists in this directory,
this method will verify repo.getPath()/pom.xml==
p4 where basedir/pom.xml
public static boolean isLive()
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.