Class VirtualFileSystemDeamon
java.lang.Object
net.datenwerke.rs.terminal.service.terminal.vfs.VirtualFileSystemDeamon
- All Implemented Interfaces:
Hook,TerminalSessionDeamonHook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidautocomplete(AutocompleteHelper autocompleteHelper) add autocomplete entries for any command that needs itvoidcreateFolderIn(VFSLocation location, String folder) getFilesystemRoot(String filesystemName) getFileSystemRoot(Class<? extends VirtualFileSystemManagerHook> type) getLocation(String pathRaw) getLocation(VFSLocation momentaryLocation, String pathway) getLocationFor(Object obj) getLocationInfo(VFSLocation location) booleanvoidinit(TerminalSession terminalSession) booleaninRoot()booleanisFileSystem(String locationStr) booleanisMountPointTaken(String mountPoint) booleanisObjectAncestorOf(Object object, VFSLocation baseLocation) booleanisValidMountPoint(String mountPoint) voidremove(VFSLocation location, boolean recursive, boolean force) voidsetLocation(VFSLocation location)
-
Constructor Details
-
Method Details
-
init
- Specified by:
initin interfaceTerminalSessionDeamonHook
-
getCurrentPath
-
cd
- Throws:
VFSException
-
addFilesystemManager
-
getLocation
- Throws:
VFSException
-
setLocation
-
getLocation
- Throws:
VFSException
-
getFilesystemRoot
- Throws:
VFSException
-
inRoot
public boolean inRoot() -
inFileSystemRoot
public boolean inFileSystemRoot() -
getCurrentLocation
-
getCurrentFileSystem
-
prettyPrintCurrentPath
-
getLocationInfo
-
getCurrentObjectId
-
autocomplete
add autocomplete entries for any command that needs it- Specified by:
autocompletein interfaceTerminalSessionDeamonHook- Parameters:
autocompleteHelper-
-
getLocationFor
-
getFileSystemRoot
-
createFolderIn
- Throws:
VFSException
-
remove
- Throws:
VFSException
-
isValidMountPoint
-
isMountPointTaken
-
isObjectAncestorOf
-
isFileSystem
-