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 Baseline s |
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
Baseline s |
BaselineList |
setLimit(int limit)
Set a limit of how many
Baseline s 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, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public 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 Baseline
sbaselines
- - A list of Baseline
spublic BaselineList apply() throws UnableToInitializeEntityException, UnableToListBaselinesException
BaselineList
UnableToInitializeEntityException
- 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 baselinesBaselineList
public BaselineList applyFilter(BaselineFilter filter)
BaselineList
after the list has been
generated.filter
- Apply the BaselineFilter
BaselineList
public BaselineList setLimit(int limit)
Baseline
s apply should returnlimit
- Limit to this number of baselinesBaselineList
public BaselineList load()
Baseline
sBaselineList
public BaselineList setSorting(Comparator<Baseline> sorter)
BaselineList
sorter
- - A Comparator
of Baseline
sBaselineList
public BaselineList addFilter(BaselineFilter filter)
filter
- Adds this filter to the BaselineList
BaselineList
with the new filterCopyright © 2016–2018. All rights reserved.