public class GitWorkspaceProviderImpl extends Object implements GitWorkspaceProvider
| Constructor and Description |
|---|
GitWorkspaceProviderImpl(File rootDirectory) |
GitWorkspaceProviderImpl(File rootDirectory,
int lockTimeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cleanWorkingDirectory()
Delete the temp files in the working directory.
|
File |
getRootDirectory() |
<T> T |
synchronizedOperation(Callable<T> callable) |
<T> T |
synchronizedUpdateOperation(GitProctorCallable<T> callable) |
public GitWorkspaceProviderImpl(File rootDirectory)
public GitWorkspaceProviderImpl(File rootDirectory, int lockTimeoutSeconds)
public File getRootDirectory()
getRootDirectory in interface GitWorkspaceProviderpublic <T> T synchronizedOperation(Callable<T> callable)
synchronizedOperation in interface GitWorkspaceProviderpublic <T> T synchronizedUpdateOperation(GitProctorCallable<T> callable) throws StoreException.TestUpdateException
synchronizedUpdateOperation in interface GitWorkspaceProviderStoreException.TestUpdateExceptionpublic boolean cleanWorkingDirectory()
GitWorkspaceProvidercleanWorkingDirectory in interface GitWorkspaceProviderCopyright © 2019. All rights reserved.