Interface RecurrenceSettings.Builder

    • Method Detail

      • monthlySettings

        RecurrenceSettings.Builder monthlySettings​(Collection<MonthlySetting> monthlySettings)

        Information about on-call rotations that recur monthly.

        Parameters:
        monthlySettings - Information about on-call rotations that recur monthly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monthlySettings

        RecurrenceSettings.Builder monthlySettings​(MonthlySetting... monthlySettings)

        Information about on-call rotations that recur monthly.

        Parameters:
        monthlySettings - Information about on-call rotations that recur monthly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • weeklySettings

        RecurrenceSettings.Builder weeklySettings​(Collection<WeeklySetting> weeklySettings)

        Information about on-call rotations that recur weekly.

        Parameters:
        weeklySettings - Information about on-call rotations that recur weekly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • weeklySettings

        RecurrenceSettings.Builder weeklySettings​(WeeklySetting... weeklySettings)

        Information about on-call rotations that recur weekly.

        Parameters:
        weeklySettings - Information about on-call rotations that recur weekly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dailySettings

        RecurrenceSettings.Builder dailySettings​(Collection<HandOffTime> dailySettings)

        Information about on-call rotations that recur daily.

        Parameters:
        dailySettings - Information about on-call rotations that recur daily.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dailySettings

        RecurrenceSettings.Builder dailySettings​(HandOffTime... dailySettings)

        Information about on-call rotations that recur daily.

        Parameters:
        dailySettings - Information about on-call rotations that recur daily.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfOnCalls

        RecurrenceSettings.Builder numberOfOnCalls​(Integer numberOfOnCalls)

        The number of contacts, or shift team members designated to be on call concurrently during a shift. For example, in an on-call schedule containing ten contacts, a value of 2 designates that two of them are on call at any given time.

        Parameters:
        numberOfOnCalls - The number of contacts, or shift team members designated to be on call concurrently during a shift. For example, in an on-call schedule containing ten contacts, a value of 2 designates that two of them are on call at any given time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shiftCoveragesWithStrings

        RecurrenceSettings.Builder shiftCoveragesWithStrings​(Map<String,​? extends Collection<CoverageTime>> shiftCoverages)

        Information about the days of the week included in on-call rotation coverage.

        Parameters:
        shiftCoverages - Information about the days of the week included in on-call rotation coverage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shiftCoverages

        RecurrenceSettings.Builder shiftCoverages​(Map<DayOfWeek,​? extends Collection<CoverageTime>> shiftCoverages)

        Information about the days of the week included in on-call rotation coverage.

        Parameters:
        shiftCoverages - Information about the days of the week included in on-call rotation coverage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurrenceMultiplier

        RecurrenceSettings.Builder recurrenceMultiplier​(Integer recurrenceMultiplier)

        The number of days, weeks, or months a single rotation lasts.

        Parameters:
        recurrenceMultiplier - The number of days, weeks, or months a single rotation lasts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.