public class VcsRepositoryConfigurationComparatorImpl extends Object implements VcsRepositoryConfigurationComparator
Constructor and Description |
---|
VcsRepositoryConfigurationComparatorImpl(CustomVariableContext customVariableContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isTheSameBranch(VcsRepositoryModuleDescriptor moduleDescriptor,
VariableSubstitutor variableSubstitutor,
VcsRepositoryData first,
VcsRepositoryData second)
Compares 2 branches in of a certain variable set.
|
boolean |
isTheSameVcsLocation(VcsRepositoryModuleDescriptor moduleDescriptor,
VariableSubstitutor variableSubstitutor,
VcsRepositoryData first,
VcsRepositoryData second)
Compares 2 repository locations in context of a certain variable set.
|
public VcsRepositoryConfigurationComparatorImpl(CustomVariableContext customVariableContext)
public boolean isTheSameVcsLocation(VcsRepositoryModuleDescriptor moduleDescriptor, VariableSubstitutor variableSubstitutor, @NotNull VcsRepositoryData first, @NotNull VcsRepositoryData second)
isTheSameVcsLocation
in interface VcsRepositoryConfigurationComparator
moduleDescriptor
- plugin module of the first repositoryvariableSubstitutor
- current variable substitutorfirst
- first repository to comparesecond
- second repository to comparepublic boolean isTheSameBranch(VcsRepositoryModuleDescriptor moduleDescriptor, VariableSubstitutor variableSubstitutor, @NotNull VcsRepositoryData first, @NotNull VcsRepositoryData second)
isTheSameBranch
in interface VcsRepositoryConfigurationComparator
moduleDescriptor
- plugin module of the first repositoryvariableSubstitutor
- current variable substitutorfirst
- first repository to comparesecond
- second repository to compareCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.