Package jetbrains.buildServer.vcs
Class VcsItem
- java.lang.Object
-
- jetbrains.buildServer.vcs.VcsItem
-
- All Implemented Interfaces:
Comparable
public final class VcsItem extends Object implements Comparable
This class represents a named item in some directory, which can be either directory or file.- Author:
- kir
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object o)booleanequals(Object o)StringgetName()inthashCode()booleanisDirectory()
-
-
-
Constructor Detail
-
VcsItem
public VcsItem(@NotNull String name, boolean isDirectory)
-
-
Method Detail
-
getName
@NotNull public String getName()
- Returns:
- name of the item
-
isDirectory
public boolean isDirectory()
- Returns:
- true if this item represents a directory
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin interfaceComparable
-
-