Interface FileSystemAware

  • All Known Implementing Classes:
    AbstractFileSystemCommand, ScpCommand, SftpSubsystem
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface FileSystemAware
    Interface that can be implemented by a command to be able to access the file system in which this command will be used.
    • Method Detail

      • setFileSystem

        void setFileSystem​(FileSystem fileSystem)
        Set the file system in which this shell will be executed.
        Parameters:
        fileSystem - the file system