Methods
Modifier and Type |
Method and Description |
AddScmResult |
add(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected BlameScmResult |
blame(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected ChangeLogScmResult |
changelog(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters) |
protected CheckInScmResult |
checkin(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected CheckOutScmResult |
checkout(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
static String |
clean(String string) |
static String |
createClientspec(ScmLogger logger,
PerforceScmProviderRepository repo,
File workDir,
String repoPath) |
static Commandline |
createP4Command(PerforceScmProviderRepository repo,
File workingDir) |
protected DiffScmResult |
diff(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected EditScmResult |
edit(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
static String |
getCanonicalRepoPath(String repoPath)
Given a path like "//depot/foo/bar", returns the
proper path to include everything beneath it.
|
static String |
getClientspecName(ScmLogger logger,
PerforceScmProviderRepository repo,
File workDir) |
static String |
getRepoPath(ScmLogger log,
PerforceScmProviderRepository repo,
File basedir)
This is a "safe" method which handles cases where repo.getPath() is
not actually a valid Perforce depot location.
|
String |
getScmType() |
static boolean |
isLive() |
protected LoginScmResult |
login(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
ScmProviderRepository |
makeProviderScmRepository(String scmSpecificUrl,
char delimiter) |
protected RemoveScmResult |
remove(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
boolean |
requiresEditMode() |
protected StatusScmResult |
status(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected TagScmResult |
tag(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected UnEditScmResult |
unedit(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |
protected UpdateScmResult |
update(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params) |