Class CheckedOutDir
- java.lang.Object
-
- jetbrains.buildServer.serverSide.vcs.CheckedOutDir
-
- All Implemented Interfaces:
Comparable<CheckedOutDir>
- Direct Known Subclasses:
SCheckedOutDir
public class CheckedOutDir extends Object implements Comparable<CheckedOutDir>
Contains information about from what vcs root sources are checking out and where they are checking out to. Do not put this object as key to TreeMap because its equals does not correspond to compareTo method.
-
-
Constructor Summary
Constructors Constructor Description CheckedOutDir(VcsRoot root, IncludeRule rule)
Creates new object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(CheckedOutDir o)
static List<CheckedOutDir>
createListFor(List<? extends VcsRootEntry> entries)
Creates list ofCheckedOutDir
objects corresponding to the vcs entries.boolean
equals(Object o)
static List<CheckedOutDir>
findCheckedOutDirsByPath(String path, List<? extends VcsRootEntry> entries)
VcsRoot
getRoot()
Sources location description.IncludeRule
getRule()
Include rule describes what part of the described repository should be checked out and where it should be checked out to.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
CheckedOutDir
public CheckedOutDir(VcsRoot root, IncludeRule rule)
Creates new object- Parameters:
root
- vcs settings checked out from.rule
- associated checkout rule.
-
-
Method Detail
-
getRoot
public VcsRoot getRoot()
Sources location description.- Returns:
- vcs root containing vcs settings.
-
getRule
public IncludeRule getRule()
Include rule describes what part of the described repository should be checked out and where it should be checked out to.- Returns:
- description of what part of the described repository should be checked out and where it should be checked out to.
-
createListFor
@NotNull public static List<CheckedOutDir> createListFor(@NotNull List<? extends VcsRootEntry> entries)
Creates list ofCheckedOutDir
objects corresponding to the vcs entries.- Parameters:
entries
- specified vcs entries.- Returns:
- list of
CheckedOutDir
objects.
-
findCheckedOutDirsByPath
@NotNull public static List<CheckedOutDir> findCheckedOutDirsByPath(@NotNull String path, @NotNull List<? extends VcsRootEntry> entries)
- Since:
- 8.0
-
compareTo
public int compareTo(CheckedOutDir o)
- Specified by:
compareTo
in interfaceComparable<CheckedOutDir>
-
-