- All Superinterfaces:
DataStore,FileSystemStore,LaunchableStore,StatefulDataStore
- All Known Implementing Classes:
LocalStore
-
Method Summary
Modifier and TypeMethodDescriptiondefault ShellControlcontrol()default FileSystemstatic ShellStoredefault ShellDialectdefault Charsetdefault OsTypedefault ShellDialectstatic booleandefault StringprepareLaunchCommand(String displayName) default Stringdefault voidvalidate()Performs a validation of this data store.Methods inherited from interface io.xpipe.core.store.DataStore
asNeeded, canOpen, checkComplete, delete, getFlow, isComplete, isContentExclusivelyAccessible, shouldPersist, shouldSaveMethods inherited from interface io.xpipe.core.store.LaunchableStore
canLaunchMethods inherited from interface io.xpipe.core.store.StatefulDataStore
getOrComputeState, getState, isInStorage, setState
-
Method Details
-
createLocal
-
isLocal
-
createFileSystem
- Specified by:
createFileSystemin interfaceFileSystemStore
-
prepareLaunchCommand
- Specified by:
prepareLaunchCommandin interfaceLaunchableStore- Throws:
Exception
-
control
-
getShellType
-
getOsType
-
getCharset
-
createBasicControl
ShellControl createBasicControl() -
determineType
- Throws:
Exception
-
validate
Description copied from interface:DataStorePerforms a validation of this data store.This validation can include one of multiple things: - Sanity checks of individual properties - Existence checks - Connection checks
All in all, a successful execution of this method should almost guarantee that the data store can be successfully accessed in the near future.
Note that some checks may take a long time, for example if a connection has to be validated. The caller should therefore expect a runtime of multiple seconds when calling this method.
-
queryMachineName
- Throws:
Exception
-