Class MaintenanceDefinitions
java.lang.Object
com.sap.prd.jenkins.plugins.agent_maintenance.MaintenanceDefinitions
Container that holds the scheduled and recurring maintenance windows for an agent.
-
Constructor Summary
ConstructorDescriptionMaintenanceDefinitions
(SortedSet<MaintenanceWindow> scheduled, Set<RecurringMaintenanceWindow> recurring) Create definitions container. -
Method Summary
Modifier and TypeMethodDescriptionGet the recurring maintenance windows.Get the scheduled maintenance windows.
-
Constructor Details
-
MaintenanceDefinitions
public MaintenanceDefinitions(SortedSet<MaintenanceWindow> scheduled, Set<RecurringMaintenanceWindow> recurring) Create definitions container.- Parameters:
scheduled
- A set of scheduled maintenance windowsrecurring
- A set of recurring maintenance windows
-
-
Method Details
-
getScheduled
Get the scheduled maintenance windows.- Returns:
- Set of scheduled maintenance windows
-
getRecurring
Get the recurring maintenance windows.- Returns:
- Set of recurring maintenance windows
-