Module xaos.ui

Class DirectoryModel.Update<I>

  • Type Parameters:
    I - Type of the initiator of changes to the model.
    Enclosing interface:
    DirectoryModel<I,​T>

    public static class DirectoryModel.Update<I>
    extends Object
    Represents an update to the directory model.
    • Method Detail

      • getBaseDir

        public Path getBaseDir()
        Returns:
        The base directory of the update.
      • getInitiator

        public I getInitiator()
        Returns:
        The initiator of changes to the model.
      • getPath

        public Path getPath()
        Returns:
        The resolved path of the updated element. This is equivalent of calling getBaseDir().resolve(getRelativePath()).
      • getRelativePath

        public Path getRelativePath()
        Returns:
        The path relative to getBaseDir() of the updated element.