Class DirectoryAccess

    • Constructor Detail

      • DirectoryAccess

        public DirectoryAccess​(com.hello2morrow.sonargraph.core.model.path.DirectoryPath element)
        Internal use only
    • Method Detail

      • getMetricLevel

        public java.lang.Object getMetricLevel()
        Description copied from class: ElementAccess
        Internal use only
        Overrides:
        getMetricLevel in class ElementAccess<com.hello2morrow.sonargraph.core.model.path.DirectoryPath>
      • getFile

        public de.schlichtherle.truezip.file.TFile getFile()
        Returns the File object associated with this directory
        Specified by:
        getFile in interface IDirectoryAccess
        Returns:
        see above
      • isRootDirectory

        public boolean isRootDirectory()
        Specified by:
        isRootDirectory in interface IDirectoryAccess
        Returns:
        true if this is a root directory containing input files for the parsers (e.g. a configured top-level directory in a module)
      • isSourceRootDirectory

        public boolean isSourceRootDirectory()
        Specified by:
        isSourceRootDirectory in interface IDirectoryAccess
        Returns:
        true if this is a root directory that is searched for input source files when parsing