Class GitComparisonDataSourceDescriptor
- java.lang.Object
- 
- com._1c.g5.v8.dt.compare.datasource.GitComparisonDataSourceDescriptor
 
- 
- All Implemented Interfaces:
- IComparisonDataSourceDescriptor
 
 public class GitComparisonDataSourceDescriptor extends Object implements IComparisonDataSourceDescriptor The descriptor represented by a Git revision.
- 
- 
Constructor SummaryConstructors Constructor Description GitComparisonDataSourceDescriptor(Path repositoryPath, String revision, Path projectPath)Creates a new instance with the given parameters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetProjectName()Returns the project name for this data source descriptor.PathgetProjectPath()Returns the project path in Git repository.PathgetRepositoryPath()Returns the Git repository directory path.StringgetRevision()Returns the Git commit reference or the index identifier.inthashCode()
 
- 
- 
- 
Constructor Detail- 
GitComparisonDataSourceDescriptorpublic GitComparisonDataSourceDescriptor(Path repositoryPath, String revision, Path projectPath) Creates a new instance with the given parameters.- Parameters:
- repositoryPath- the Git repository directory path, cannot be- null
- revision- the Git commit reference or- GitCompareUtils.INDEXto use index, cannot be- null
- projectPath- the project path in Git repository, cannot be- null
 
 
- 
 - 
Method Detail- 
getProjectNamepublic String getProjectName() Description copied from interface:IComparisonDataSourceDescriptorReturns the project name for this data source descriptor.- Specified by:
- getProjectNamein interface- IComparisonDataSourceDescriptor
- Returns:
- the project name, never null
 
 - 
getRepositoryPathpublic Path getRepositoryPath() Returns the Git repository directory path.- Returns:
- the Git repository directory path, never null
 
 - 
getRevisionpublic String getRevision() Returns the Git commit reference or the index identifier.- Returns:
- the Git commit reference, never null
 
 - 
getProjectPathpublic Path getProjectPath() Returns the project path in Git repository.- Returns:
- the project path in Git repository, never null
 
 
- 
 
-