Class FileManagerCacheProxy

java.lang.Object
io.github.andreyzebin.gitSql.cache.FileManagerCacheProxy
All Implemented Interfaces:
GitEventListener, io.github.zebin.javabash.sandbox.AllFileManager, io.github.zebin.javabash.sandbox.BashPower, io.github.zebin.javabash.sandbox.DirChanger, io.github.zebin.javabash.sandbox.DirViewer, io.github.zebin.javabash.sandbox.DirWalker

public class FileManagerCacheProxy extends Object implements io.github.zebin.javabash.sandbox.AllFileManager, GitEventListener
  • Constructor Details

  • Method Details

    • cachedProxy

      public static FileManagerCacheProxy cachedProxy(io.github.zebin.javabash.sandbox.AllFileManager delegate, AtomicReference<String> cacheControl)
    • call

      public void call(String event)
      Specified by:
      call in interface GitEventListener
    • getTerminal

      public io.github.zebin.javabash.process.TextTerminal getTerminal()
      Specified by:
      getTerminal in interface io.github.zebin.javabash.sandbox.BashPower
    • read

      public String read(io.github.zebin.javabash.sandbox.PosixPath pp)
      Specified by:
      read in interface io.github.zebin.javabash.sandbox.DirViewer
    • list

      public List<io.github.zebin.javabash.sandbox.PosixPath> list()
      Specified by:
      list in interface io.github.zebin.javabash.sandbox.DirViewer
    • getCurrent

      public io.github.zebin.javabash.sandbox.PosixPath getCurrent()
      Specified by:
      getCurrent in interface io.github.zebin.javabash.sandbox.DirWalker
    • goUp

      public io.github.zebin.javabash.sandbox.PosixPath goUp()
      Specified by:
      goUp in interface io.github.zebin.javabash.sandbox.DirWalker
    • go

      public io.github.zebin.javabash.sandbox.PosixPath go(io.github.zebin.javabash.sandbox.PosixPath path)
      Specified by:
      go in interface io.github.zebin.javabash.sandbox.DirWalker
    • makeDir

      public io.github.zebin.javabash.sandbox.PosixPath makeDir(io.github.zebin.javabash.sandbox.PosixPath newDir)
      Specified by:
      makeDir in interface io.github.zebin.javabash.sandbox.DirChanger
    • makeFile

      public io.github.zebin.javabash.sandbox.PosixPath makeFile(io.github.zebin.javabash.sandbox.PosixPath newDir)
      Specified by:
      makeFile in interface io.github.zebin.javabash.sandbox.DirChanger
    • write

      public Writer write(io.github.zebin.javabash.sandbox.PosixPath pp)
      Specified by:
      write in interface io.github.zebin.javabash.sandbox.DirChanger
    • append

      public Writer append(io.github.zebin.javabash.sandbox.PosixPath pp)
      Specified by:
      append in interface io.github.zebin.javabash.sandbox.DirChanger
    • removeFile

      public boolean removeFile(io.github.zebin.javabash.sandbox.PosixPath file)
      Specified by:
      removeFile in interface io.github.zebin.javabash.sandbox.DirChanger
    • removeDir

      public boolean removeDir(io.github.zebin.javabash.sandbox.PosixPath path)
      Specified by:
      removeDir in interface io.github.zebin.javabash.sandbox.DirChanger
    • dirExists

      public boolean dirExists(io.github.zebin.javabash.sandbox.PosixPath newDir)
      Specified by:
      dirExists in interface io.github.zebin.javabash.sandbox.DirViewer
    • fileExists

      public boolean fileExists(io.github.zebin.javabash.sandbox.PosixPath newDir)
      Specified by:
      fileExists in interface io.github.zebin.javabash.sandbox.DirViewer
    • list

      public List<io.github.zebin.javabash.sandbox.PosixPath> list(io.github.zebin.javabash.sandbox.PosixPath path)
      Specified by:
      list in interface io.github.zebin.javabash.sandbox.DirViewer