public static class AggregatedPVCoordinatesProvider.Builder extends Object
AggregatedPVCoordinatesProvider
.Constructor and Description |
---|
Builder()
Create a builder using the
AggregatedPVCoordinatesProvider.InvalidPVProvider as the initial provider. |
Builder(PVCoordinatesProvider initialProvider)
Create a builder using the provided initial provider.
|
Modifier and Type | Method and Description |
---|---|
AggregatedPVCoordinatesProvider.Builder |
addPVProviderAfter(AbsoluteDate date,
PVCoordinatesProvider pvProv,
boolean erasesLater)
Add a
PVCoordinatesProvider to the collection. |
AggregatedPVCoordinatesProvider.Builder |
addPVProviderBefore(AbsoluteDate date,
PVCoordinatesProvider pvProv,
boolean erasesEarlier)
Add a
PVCoordinatesProvider to the collection. |
AggregatedPVCoordinatesProvider |
build()
Build the aggregated PVCoordinatesProvider.
|
AggregatedPVCoordinatesProvider.Builder |
invalidAfter(AbsoluteDate lastValidDate)
Indicate the date after which the resulting PVCoordinatesProvider is invalid.
|
AggregatedPVCoordinatesProvider.Builder |
invalidBefore(AbsoluteDate firstValidDate)
Indicate the date before which the resulting PVCoordinatesProvider is invalid.
|
public Builder()
AggregatedPVCoordinatesProvider.InvalidPVProvider
as the initial provider.public Builder(PVCoordinatesProvider initialProvider)
initialProvider
- the inital providerpublic AggregatedPVCoordinatesProvider.Builder addPVProviderAfter(AbsoluteDate date, PVCoordinatesProvider pvProv, boolean erasesLater)
PVCoordinatesProvider
to the collection.
The provided date is the transition time, at which this provider will be used.date
- the transition datepvProv
- the providererasesLater
- if true, the entry erases all existing transitions that are later than date
TimeSpanMap.addValidAfter(Object, AbsoluteDate, boolean)
public AggregatedPVCoordinatesProvider.Builder addPVProviderBefore(AbsoluteDate date, PVCoordinatesProvider pvProv, boolean erasesEarlier)
PVCoordinatesProvider
to the collection.
The provided date is the final transition time, before which this provider will be used.date
- the transition datepvProv
- the providererasesEarlier
- if true, the entry erases all existing transitions that are earlier than date
TimeSpanMap.addValidBefore(Object, AbsoluteDate, boolean)
public AggregatedPVCoordinatesProvider.Builder invalidBefore(AbsoluteDate firstValidDate)
firstValidDate
- first date at which the resuling provider should be validpublic AggregatedPVCoordinatesProvider.Builder invalidAfter(AbsoluteDate lastValidDate)
lastValidDate
- last date at which the resuling provider should be validpublic AggregatedPVCoordinatesProvider build()
Copyright © 2002-2023 CS GROUP. All rights reserved.