Package jetbrains.buildServer.serverSide
Class LimitedChangesCollection
- java.lang.Object
-
- jetbrains.buildServer.serverSide.LimitedChangesCollection
-
public class LimitedChangesCollection extends Object
A collection of limited number of changes
-
-
Constructor Summary
Constructors Constructor Description LimitedChangesCollection(LimitingVcsModificationProcessor limit, List<ChangeDescriptor> changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ChangeDescriptor>
getChanges()
int
getLimit()
boolean
isCalculated()
boolean
isContainsChanges()
boolean
isEmpty()
boolean
isLimitExceeded()
-
-
-
Constructor Detail
-
LimitedChangesCollection
public LimitedChangesCollection(@NotNull LimitingVcsModificationProcessor limit, @NotNull List<ChangeDescriptor> changes)
-
-
Method Detail
-
getLimit
public int getLimit()
- Returns:
- limit used in this collection
-
isLimitExceeded
public boolean isLimitExceeded()
- Returns:
- true if limit was exceeded
-
getChanges
public List<ChangeDescriptor> getChanges()
- Returns:
- collection of changes of size not greater than limit
-
isEmpty
public boolean isEmpty()
- Returns:
- true if there is no changes in this collection
-
isContainsChanges
public boolean isContainsChanges()
-
isCalculated
public boolean isCalculated()
-
-