public class VcsDescriptor extends java.lang.Object implements java.lang.Comparable<VcsDescriptor>
Constructor and Description |
---|
VcsDescriptor(java.lang.String administrativePattern,
java.lang.String displayName,
java.lang.String name,
boolean crawlUpToCheckUnderVcs,
boolean areChildrenValidMappings) |
Modifier and Type | Method and Description |
---|---|
boolean |
areChildrenValidMappings() |
int |
compareTo(VcsDescriptor o) |
static VcsDescriptor |
createFictive() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDisplayName() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
hasVcsDirPattern() |
boolean |
isNone() |
boolean |
matchesVcsDirPattern(java.lang.String dirName) |
boolean |
probablyUnderVcs(VirtualFile file) |
boolean |
probablyUnderVcs(VirtualFile file,
boolean crawlUp) |
java.lang.String |
toString() |
public VcsDescriptor(java.lang.String administrativePattern, java.lang.String displayName, java.lang.String name, boolean crawlUpToCheckUnderVcs, boolean areChildrenValidMappings)
public boolean areChildrenValidMappings()
public boolean probablyUnderVcs(VirtualFile file)
public boolean probablyUnderVcs(VirtualFile file, boolean crawlUp)
public boolean hasVcsDirPattern()
public boolean matchesVcsDirPattern(java.lang.String dirName)
public java.lang.String getDisplayName()
public java.lang.String getName()
public int compareTo(VcsDescriptor o)
compareTo
in interface java.lang.Comparable<VcsDescriptor>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean isNone()
public static VcsDescriptor createFictive()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object