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.
|
isIgnoredpublic DefaultVcsRootChecker(AbstractVcs vcs)
public VcsKey getSupportedVcs()
VcsRootCheckergetSupportedVcs in class VcsRootCheckerpublic boolean isRoot(java.lang.String path)
VcsRootCheckerisRoot in class VcsRootCheckerpublic boolean validateRoot(java.lang.String path)
VcsRootCheckerVcsRootChecker.isRoot(java.lang.String) is that this method should return true if unsure.validateRoot in class VcsRootCheckerpublic boolean isVcsDir(java.lang.String dirName)
VcsRootChecker.git".
VcsRootChecker.isRoot(String).isVcsDir in class VcsRootCheckerpublic boolean areChildrenValidMappings()
areChildrenValidMappings in class VcsRootChecker