Class FileSystemComparisonDataSourceDescriptor

    • Constructor Detail

      • FileSystemComparisonDataSourceDescriptor

        public FileSystemComparisonDataSourceDescriptor​(Path sourceRoot)
        Creates a new instance.
        Parameters:
        sourceRoot - the root folder that contains project sources, cannot be null
      • FileSystemComparisonDataSourceDescriptor

        public FileSystemComparisonDataSourceDescriptor​(Path sourceRoot,
                                                        String deltaBaseProjectName)
        Creates a new instance.
        Parameters:
        sourceRoot - the root folder that contains project sources, cannot be null
        deltaBaseProjectName - the delta base project name. The delta base project is used to create overlayed sources only, the content of the data source is treated as a delta from the main source, cannot be null
    • Method Detail

      • getPath

        public Path getPath()
        Returns the file system folder path.
        Returns:
        the file system folder path, never null
      • storesValidDtProject

        public boolean storesValidDtProject()
        Checks whether this comparison data stores the valid DT project.
        Returns:
        true if this comparison data stores the valid DT project and false otherwise
      • isDeltaSource

        public boolean isDeltaSource()
        Checks if this source is a delta source
        Returns:
        True if this descriptor describes the delta source. False otherwise
      • getDeltaBaseProjectName

        public String getDeltaBaseProjectName()
        Returns the delta base project name, if the delta base project defined.
        Returns:
        The delta base project name. May be null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object