public class BaselineList extends ArrayList<Baseline>
| Modifier and Type | Class and Description |
|---|---|
static class |
BaselineList.AscendingDateSort |
static class |
BaselineList.DescendingDateSort |
modCount| Constructor and Description |
|---|
BaselineList() |
BaselineList(List<Baseline> baselines)
Create a
BaselineList object from a list of Baselines |
BaselineList(Stream stream,
Component component,
Project.PromotionLevel plevel) |
BaselineList(Stream stream,
Component component,
Project.PromotionLevel plevel,
boolean multisitePolling) |
| Modifier and Type | Method and Description |
|---|---|
BaselineList |
addFilter(BaselineFilter filter)
Add a filter to apply
|
BaselineList |
apply()
Apply all the given filters and rules to this
|
BaselineList |
applyFilter(BaselineFilter filter)
Apply a single filter to the
BaselineList after the list has been
generated. |
BaselineList |
ensureBaseline(Baseline baseline)
Ensure that the
Baseline is in the list |
BaselineList |
load()
Load the
Baselines |
BaselineList |
setLimit(int limit)
Set a limit of how many
Baselines apply should return |
BaselineList |
setSorting(Comparator<Baseline> sorter)
Set the sorting of the
BaselineList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic BaselineList()
public BaselineList(Stream stream, Component component, Project.PromotionLevel plevel)
public BaselineList(Stream stream, Component component, Project.PromotionLevel plevel, boolean multisitePolling)
public BaselineList(List<Baseline> baselines)
BaselineList object from a list of Baselinesbaselines - - A list of Baselinespublic BaselineList apply() throws UnableToInitializeEntityException, UnableToListBaselinesException
BaselineListUnableToInitializeEntityException - Thrown when ClearCase reports errorsUnableToListBaselinesException - Thrown when ClearCase reports errorspublic BaselineList ensureBaseline(Baseline baseline)
Baseline is in the listbaseline - Adds the Baseline to the required baselinesBaselineListpublic BaselineList applyFilter(BaselineFilter filter)
BaselineList after the list has been
generated.filter - Apply the BaselineFilterBaselineListpublic BaselineList setLimit(int limit)
Baselines apply should returnlimit - Limit to this number of baselinesBaselineListpublic BaselineList load()
BaselinesBaselineListpublic BaselineList setSorting(Comparator<Baseline> sorter)
BaselineListsorter - - A Comparator of BaselinesBaselineListpublic BaselineList addFilter(BaselineFilter filter)
filter - Adds this filter to the BaselineListBaselineList with the new filterCopyright © 2016–2018. All rights reserved.