Class UnixFSTaskPathMapping
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSTaskPathMapping
- All Implemented Interfaces:
UnixFSHasFilesystemPath
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnixFSTaskPathMappingfromFSPath(UnixFSUtils unixFSUtils, Path taskPath) static UnixFSTaskPathMappingfromResourceId(UnixFSUtils unixFSUtils, ResourceId resourceId) Gets a task mapping for the supplied file.Gets thePathto the task file.Gets theTaskId.TheUnixFSUtilsas part of htis mapping.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.rt.transact.unix.UnixFSHasFilesystemPath
createParentDirectories, getFilesystemPath
-
Method Details
-
fromFSPath
- Parameters:
unixFSUtils- the utilstaskPath- thePath- Returns:
- the
UnixFSTaskPathMapping
-
fromResourceId
Gets a task mapping for the supplied file.- Parameters:
unixFSUtils- theUnixFSUtilsinstance to useresourceId- theResourceIdwhich houses the tasks for the resource- Returns:
- the
UnixFSTaskPathMapping
-
getResourceId
Gets theTaskId.- Returns:
- the
TaskId
-
getFilesystemPath
Gets thePathto the task file.- Specified by:
getFilesystemPathin interfaceUnixFSHasFilesystemPath- Returns:
- the
Pathto the task file
-
getUnixFSUtils
TheUnixFSUtilsas part of htis mapping.- Returns:
- the
UnixFSUtils
-