Class IntervalTemporaryDurationCriterion.Builder
java.lang.Object
com.powsybl.iidm.criteria.duration.IntervalTemporaryDurationCriterion.Builder
- Enclosing class:
- IntervalTemporaryDurationCriterion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setHighBound
(int value, boolean closed) Define the upper bound of the interval.setLowBound
(int value, boolean closed) Define the lower bound of the interval.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setLowBound
Define the lower bound of the interval.- Parameters:
value
- value of the lower bound (in seconds).closed
-true
if the bound is part of the interval,false
otherwise.- Returns:
- the current builder
-
setHighBound
Define the upper bound of the interval.- Parameters:
value
- value of the upper bound (in seconds).closed
-true
if the bound is part of the interval,false
otherwise.- Returns:
- the current builder
-
build
-