Class SourceFolder

java.lang.Object
uno.anahata.asi.nb.tools.project.SourceFolder

public final class SourceFolder extends Object
Represents a folder within a source directory tree, containing files and subfolders. This is a Java 8-compatible, immutable data class.
Author:
Anahata
  • Field Details

    • displayName

      private final String displayName
      The display name of the source folder, if it differs from the physical folder name.
    • path

      private final String path
      The absolute physical path to the folder on the host filesystem.
    • recursiveSize

      private final long recursiveSize
      The total recursive size in bytes of all contents within this folder.
    • files

      private final List<ProjectFile> files
      The list of files contained directly within this directory.
    • subfolders

      private final List<SourceFolder> subfolders
      The list of immediate sub-directories.
  • Constructor Details

    • SourceFolder

      public SourceFolder()