Class UnixFSTaskPathMapping
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSTaskPathMapping
- All Implemented Interfaces:
UnixFSHasFilesystemPath
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnixFSTaskPathMapping
fromFSPath
(UnixFSUtils unixFSUtils, Path taskPath) static UnixFSTaskPathMapping
fromResourceId
(UnixFSUtils unixFSUtils, ResourceId resourceId) Gets a task mapping for the supplied file.Gets thePath
to the task file.Gets theTaskId
.TheUnixFSUtils
as part of htis mapping.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
- theUnixFSUtils
instance to useresourceId
- theResourceId
which houses the tasks for the resource- Returns:
- the
UnixFSTaskPathMapping
-
getResourceId
Gets theTaskId
.- Returns:
- the
TaskId
-
getFilesystemPath
Gets thePath
to the task file.- Specified by:
getFilesystemPath
in interfaceUnixFSHasFilesystemPath
- Returns:
- the
Path
to the task file
-
getUnixFSUtils
TheUnixFSUtils
as part of htis mapping.- Returns:
- the
UnixFSUtils
-