Package com.microstrategy.web.objects
Interface WebScheduledMaintenances
-
- All Known Implementing Classes:
WebScheduledMaintenancesImpl
public interface WebScheduledMaintenancesThis interface holds a collection of scheduled maintenance. It provides methods to list all scheduled maintenance, and add new scheduled maintenance to this collection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebScheduledMaintenanceadd(WebScheduledMaintenance schedule)Create a new ScheduledMaintenance object at the end of this collection.voidclear()Remove all ScheduledMaintenance objects in this collection.WebScheduledMaintenanceget(int index)Returns the ScheduledMaintenance in this collection according to the index (0-based).intsize()Returns the size of this collection.
-
-
-
Method Detail
-
size
int size()
Returns the size of this collection.- Returns:
- The size of this collection.
-
get
WebScheduledMaintenance get(int index) throws java.lang.IndexOutOfBoundsException
Returns the ScheduledMaintenance in this collection according to the index (0-based).- Parameters:
index- The index of the ScheduledMaintenance object in the collection (0-based).- Returns:
- the ScheduledMaintenance object in this colleciton according to the index.
- Throws:
java.lang.IndexOutOfBoundsException- Thrown when the index is less than 0 or greater or equals to the size of the collection.
-
add
WebScheduledMaintenance add(WebScheduledMaintenance schedule)
Create a new ScheduledMaintenance object at the end of this collection.- Returns:
- The newly added ScheduledMaintenance object.
-
clear
void clear()
Remove all ScheduledMaintenance objects in this collection.
-
-