Class MaintenanceDefinitions

java.lang.Object
com.sap.prd.jenkins.plugins.agent_maintenance.MaintenanceDefinitions

public class MaintenanceDefinitions extends Object
Container that holds the scheduled and recurring maintenance windows for an agent.
  • Constructor Details

    • MaintenanceDefinitions

      public MaintenanceDefinitions(SortedSet<MaintenanceWindow> scheduled, Set<RecurringMaintenanceWindow> recurring)
      Create definitions container.
      Parameters:
      scheduled - A set of scheduled maintenance windows
      recurring - A set of recurring maintenance windows
  • Method Details

    • getScheduled

      public SortedSet<MaintenanceWindow> getScheduled()
      Get the scheduled maintenance windows.
      Returns:
      Set of scheduled maintenance windows
    • getRecurring

      public Set<RecurringMaintenanceWindow> getRecurring()
      Get the recurring maintenance windows.
      Returns:
      Set of recurring maintenance windows