Class ProjectUtils

java.lang.Object
it.uniroma2.art.semanticturkey.project.ProjectUtils

public abstract class ProjectUtils extends Object
Utility class for Projects.
Author:
Manuel Fiorelli
  • Constructor Details

    • ProjectUtils

      public ProjectUtils()
  • Method Details

    • computeVersionRepository

      public static String computeVersionRepository(String versionId)
      Computes the name of the (local) repository holding a version dump.
      Parameters:
      versionId -
      Returns:
    • getReadLockProjectDirectory

      public static Lock getReadLockProjectDirectory(String projectName)
      Returns a reentrant read lock associated with the project directory
      Parameters:
      projectName -
      Returns:
    • getWriteLockProjectDirectory

      public static Lock getWriteLockProjectDirectory(String projectName)
      Returns a reentrant write lock associated with the project directory
      Parameters:
      projectName -
      Returns: