public class DefaultVcsRootChecker extends VcsRootChecker
EXTENSION_POINT_NAME
Constructor and Description |
---|
DefaultVcsRootChecker(AbstractVcs vcs) |
Modifier and Type | Method and Description |
---|---|
boolean |
areChildrenValidMappings() |
VcsKey |
getSupportedVcs()
Returns the VCS supported by this checker.
|
boolean |
isRoot(java.lang.String path)
Checks if the given path represents a root of the supported VCS.
|
boolean |
isVcsDir(java.lang.String dirName)
Checks if the given directory looks like a VCS special directory, e.g.
|
boolean |
validateRoot(java.lang.String path)
Checks if registered mapping can be used to perform VCS operations.
|
isIgnored
public DefaultVcsRootChecker(AbstractVcs vcs)
public VcsKey getSupportedVcs()
VcsRootChecker
getSupportedVcs
in class VcsRootChecker
public boolean isRoot(java.lang.String path)
VcsRootChecker
isRoot
in class VcsRootChecker
public boolean validateRoot(java.lang.String path)
VcsRootChecker
VcsRootChecker.isRoot(java.lang.String)
is that this method should return true
if unsure.validateRoot
in class VcsRootChecker
public boolean isVcsDir(java.lang.String dirName)
VcsRootChecker
.git
".
VcsRootChecker.isRoot(String)
.isVcsDir
in class VcsRootChecker
public boolean areChildrenValidMappings()
areChildrenValidMappings
in class VcsRootChecker