Command executions that require file system access
| Modifier and Type | Field and Description |
|---|---|
| protected FileSystem |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy(ChannelSession
The channel)ChannelSession through which the command has been receivedOverrides org. Implements org. This method is called by the SSH server to destroy the command because the client has disconnected somehow. |
| public FileSystem | |
| public void | setFileSystem(FileSystem
the file system fileSystem)Implements org. Set the file system in which this shell will be executed. |
| fileSystem | back to summary |
|---|---|
| protected FileSystem fileSystem | |
| AbstractFileSystemCommand | back to summary |
|---|---|
| protected AbstractFileSystemCommand(String command, CloseableExecutorService executorService) | |
| destroy | back to summary |
|---|---|
| public void destroy(ChannelSession channel) throws Exception Overrides org. Implements org. Doc from org. This method is called by the SSH server to destroy the command because the client has disconnected somehow.
| |
| getFileSystem | back to summary |
|---|---|
| public FileSystem getFileSystem() | |
| setFileSystem | back to summary |
|---|---|
| public void setFileSystem(FileSystem fileSystem) Implements org. Doc from org. Set the file system in which this shell will be executed.
| |