Class ProjectUtils
java.lang.Object
it.uniroma2.art.semanticturkey.project.ProjectUtils
Utility class for
Project
s.- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
computeVersionRepository
(String versionId) Computes the name of the (local) repository holding a version dump.static Lock
getReadLockProjectDirectory
(String projectName) Returns a reentrant read lock associated with the project directorystatic Lock
getWriteLockProjectDirectory
(String projectName) Returns a reentrant write lock associated with the project directory
-
Constructor Details
-
ProjectUtils
public ProjectUtils()
-
-
Method Details
-
computeVersionRepository
Computes the name of the (local) repository holding a version dump.- Parameters:
versionId
-- Returns:
-
getReadLockProjectDirectory
Returns a reentrant read lock associated with the project directory- Parameters:
projectName
-- Returns:
-
getWriteLockProjectDirectory
Returns a reentrant write lock associated with the project directory- Parameters:
projectName
-- Returns:
-