Class LockFileIO
- java.lang.Object
-
- org.jboss.gm.analyzer.alignment.io.LockFileIO
-
public final class LockFileIO extends java.lang.ObjectUtility class for lock file I/O.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef>allProjectVersionRefsFromLockfiles(java.nio.file.Path locksRootPath)Returns a set containing all project version refs from lock files in the given path.static java.nio.file.PathgetLocksRootPath(org.gradle.api.Project project)Gets the lock file root path for the given project.static voidrenameAllLockFiles(java.nio.file.Path locksRootPath)Renames all lock files under the given root.
-
-
-
Method Detail
-
allProjectVersionRefsFromLockfiles
public static java.util.Set<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef> allProjectVersionRefsFromLockfiles(java.nio.file.Path locksRootPath)
Returns a set containing all project version refs from lock files in the given path.- Parameters:
locksRootPath- the path to the root for the lock files- Returns:
- the set of all project version refs
-
renameAllLockFiles
public static void renameAllLockFiles(java.nio.file.Path locksRootPath)
Renames all lock files under the given root.- Parameters:
locksRootPath- the root path for the lock files
-
getLocksRootPath
public static java.nio.file.Path getLocksRootPath(org.gradle.api.Project project)
Gets the lock file root path for the given project.- Parameters:
project- the project- Returns:
- the lock file root path
-
-