Class IntervalTemporaryDurationCriterion.Builder

java.lang.Object
com.powsybl.iidm.criteria.duration.IntervalTemporaryDurationCriterion.Builder
Enclosing class:
IntervalTemporaryDurationCriterion

public static class IntervalTemporaryDurationCriterion.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setLowBound

      public IntervalTemporaryDurationCriterion.Builder setLowBound(int value, boolean closed)
      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

      public IntervalTemporaryDurationCriterion.Builder setHighBound(int value, boolean closed)
      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